]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94036a17fbfb4e1a51049157616580ce8825a0f7
treeb47f23f1c21ebc8c0e7deb333a44fe5a7e511b7d
parent1e9c67ba0e3f89aa492f1651633389ac6fe8a47f
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