genetlink: Add lockdep_genl_is_held().
authorPravin B Shelar <pshelar@nicira.com>
Fri, 11 Nov 2011 03:14:51 +0000 (19:14 -0800)
committerJesse Gross <jesse@nicira.com>
Sat, 3 Dec 2011 17:35:07 +0000 (09:35 -0800)
commit86b1309c7e411b7c25dc0dc7a092582a4d291044
treeb2557cbe0441d1d762e87a56e105bff6581c13e9
parent263ba61d3b19508dfb003c215ec5d23f882b4f87
genetlink: Add lockdep_genl_is_held().

Open vSwitch uses genl_mutex locking to protect datapath
data-structures like flow-table, flow-actions. Following patch adds
lockdep_genl_is_held() which is used for rcu annotation to prove
locking.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
include/linux/genetlink.h
net/netlink/genetlink.c