datapath: Validate access to DP array.
authorJesse Gross <jesse@nicira.com>
Wed, 8 Dec 2010 19:07:56 +0000 (11:07 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 13 Dec 2010 21:43:36 +0000 (13:43 -0800)
commiteb3ccf114ad0780225d4e30315b7aa2dab9e200c
tree8e4f1aef26825b032057d82a4a1819d110da2f52
parent758a12d2d92bfadbebcc65506780c8be68ecf3ac
datapath: Validate access to DP array.

When access the array of DPs, we need to hold either rcu_read_lock
or dp_mutex.  This enables lockdep to validate those conditions.

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