Re: [ovs-dev] [PATCH] dpif-netdev: init atomic flag dp->destroyed

2014-03-17 Thread Andy Zhou
Thanks, pushed to master. On Mon, Mar 17, 2014 at 3:37 PM, Ben Pfaff wrote: > On Mon, Mar 17, 2014 at 10:14:22PM -0700, Andy Zhou wrote: > > It is better to explicitly initialize the dp->destroy than to rely > > on xzalloc(). > > > > Signed-off-by: Andy Zhou > > Acked-by: Ben Pfaff >

Re: [ovs-dev] [PATCH] dpif-netdev: init atomic flag dp->destroyed

2014-03-17 Thread Ben Pfaff
On Mon, Mar 17, 2014 at 10:14:22PM -0700, Andy Zhou wrote: > It is better to explicitly initialize the dp->destroy than to rely > on xzalloc(). > > Signed-off-by: Andy Zhou Acked-by: Ben Pfaff ___ dev mailing list dev@openvswitch.org http://openvswitc

[ovs-dev] [PATCH] dpif-netdev: init atomic flag dp->destroyed

2014-03-17 Thread Andy Zhou
It is better to explicitly initialize the dp->destroy than to rely on xzalloc(). Signed-off-by: Andy Zhou --- lib/dpif-netdev.c |1 + 1 file changed, 1 insertion(+) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 54b8f50..3bbfd2a 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev