]> 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)
commitba9ae8b8d01dc569b40aba0f5b5db9992c2d5dff
treeb47f23f1c21ebc8c0e7deb333a44fe5a7e511b7d
parentec1000dea6ea4d3cbaa06afde38376a98036c6c4
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