datapath: Use get_table_protected() in additional places.
authorJesse Gross <jesse@nicira.com>
Sat, 25 Dec 2010 03:44:34 +0000 (19:44 -0800)
committerJesse Gross <jesse@nicira.com>
Wed, 29 Dec 2010 18:29:48 +0000 (10:29 -0800)
commit6f20002c1201c1fc78fc7cedb49b103d8afe9da6
tree991b1d4aa5337529a9a22e47d04fae9110c2eaf7
parentf827d749920e1bcc275660695144d25c7adbbd4b
datapath: Use get_table_protected() in additional places.

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@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/datapath.c