Re: [ovs-dev] [dpif-netdev 10/15] ovs-atomic: Introduce a new 'struct ovs_refcount'.

2014-01-08 Thread Pravin Shelar
On Fri, Dec 27, 2013 at 8:03 PM, Ben Pfaff wrote: > This is a thin wrapper around an atomic_uint. It is useful anyhow because > each ovs_refcount_ref() or ovs_refcount_unref() call saves a few lines of > code. > > This commit also changes all the potential direct users over to use the new > data

[ovs-dev] [dpif-netdev 10/15] ovs-atomic: Introduce a new 'struct ovs_refcount'.

2013-12-27 Thread Ben Pfaff
This is a thin wrapper around an atomic_uint. It is useful anyhow because each ovs_refcount_ref() or ovs_refcount_unref() call saves a few lines of code. This commit also changes all the potential direct users over to use the new data structure. Signed-off-by: Ben Pfaff --- lib/bfd.c