[ovs-dev] [PATCH 02/10] datapath: Use get_table_protected() in additional places.
Ben Pfaff
blp at nicira.com
Wed Dec 29 17:52:23 UTC 2010
On Tue, Dec 28, 2010 at 08:50:40PM -0800, Jesse Gross wrote:
> There are several places where the flow table is accessed
> without any kind of RCU protection. This is fine because dp
> mutex is held so this adds checks for that condition.
>
> Found with sparse.
>
> Signed-off-by: Jesse Gross <jesse at nicira.com>
The change to create_dp() looks fine to me.
But as far as I can tell dp->mutex is not held in do_destroy_dp(),
although dp_mutex is, and so I don't see why get_table_protected() would
be OK with that.
More information about the dev
mailing list