datapath: Check locks on access to flow table.
authorJesse Gross <jesse@nicira.com>
Wed, 8 Dec 2010 19:32:05 +0000 (11:32 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 13 Dec 2010 21:43:44 +0000 (13:43 -0800)
commit9abaf6b3f89952d0a34be58c8f72c60954db0daf
tree96dbd65b4e5259ba4903b6e76b3ddae8dc2814a8
parenteb3ccf114ad0780225d4e30315b7aa2dab9e200c
datapath: Check locks on access to flow table.

When accessing the flow table without holding rcu_read_lcok
we need to hold the lock on the datapath.  This enables lockdep
to validate that that is the case.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/datapath.c