dpif-netdev: init atomic flag dp->destroyed
authorAndy Zhou <azhou@nicira.com>
Tue, 18 Mar 2014 05:10:53 +0000 (22:10 -0700)
committerAndy Zhou <azhou@nicira.com>
Tue, 18 Mar 2014 07:40:10 +0000 (00:40 -0700)
commit1a65ba854469c6746f944b2e784100e4175e0bea
tree27431568d9bbf05914e894edffbfdf88be60de46
parent566b8c8d33737e2e1978abaf5142fb7c9a1522ca
dpif-netdev: init atomic flag dp->destroyed

It is better to explicitly initialize the dp->destroy than to rely
on xzalloc().

Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/dpif-netdev.c