Re: [ovs-dev] [PATCH 2/2] datapath: Directly use methods for protecting RCU/RTNL data.

2011-11-21 Thread Ben Pfaff
On Mon, Nov 21, 2011 at 10:09:47AM -0800, Jesse Gross wrote: On Mon, Nov 21, 2011 at 10:00 AM, Ben Pfaff b...@nicira.com wrote: On Sat, Nov 19, 2011 at 02:11:48PM -0800, Jesse Gross wrote: We currently have a wrapper to protect the datapath ports array. However, this can lead to confusion

[ovs-dev] [PATCH 2/2] datapath: Directly use methods for protecting RCU/RTNL data.

2011-11-19 Thread Jesse Gross
We currently have a wrapper to protect the datapath ports array. However, this can lead to confusion over exactly what lock is protecting the access (either RTNL or RCU). This removes the wrapper in favor of directly accessing the data, which also has the benefit of being less permissive about