openvswitch: Silence RCU lockdep checks from flow lookup.
authorJesse Gross <jesse@nicira.com>
Tue, 3 Dec 2013 18:58:53 +0000 (10:58 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 6 Jan 2014 23:51:48 +0000 (15:51 -0800)
commit663efa3696232300a8ad3a46bb10482fc0b861cf
treeb47f23f1c21ebc8c0e7deb333a44fe5a7e511b7d
parent5bb506324d150578afadd10c3198ef5b29f5876b
openvswitch: 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>
net/openvswitch/datapath.c
net/openvswitch/datapath.h
net/openvswitch/flow_table.c