datapath: Silence RCU lockdep checks from flow lookup.
authorJesse Gross <jesse@nicira.com>
Tue, 3 Dec 2013 02:56:32 +0000 (18:56 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 3 Dec 2013 18:53:43 +0000 (10:53 -0800)
commit780ec6aea9f2c664953c3c84468d77f6daf53925
tree4c3f58d21cb31008ea4936ad4bbb3256e588123e
parent61bf6666bec930dbfbf26c832199af93d0c5d6d1
datapath: Silence RCU lockdep checks from flow lookup.

Flow lookup can happen either in packet processing context or userspace
context but it was annotated as requiring RCU read lock to be held. This
also allows OVS mutex to be held without causing warnings.

Reported-by: Justin Pettit <jpettit@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Reviewed-by: Thomas Graf <tgraf@redhat.com>
datapath/datapath.c
datapath/datapath.h
datapath/flow_table.c