genetlink: Add rcu_dereference_genl and genl_dereference.
authorJesse Gross <jesse@nicira.com>
Sun, 20 Nov 2011 00:21:37 +0000 (16:21 -0800)
committerJesse Gross <jesse@nicira.com>
Sat, 3 Dec 2011 17:35:08 +0000 (09:35 -0800)
commitb4e16611c4e1cd98765269c8fdaf43f96baa57b1
tree3ca0f230d24748d51726c7e5bb392529a8d65009
parent86b1309c7e411b7c25dc0dc7a092582a4d291044
genetlink: Add rcu_dereference_genl and genl_dereference.

This adds rcu_dereference_genl and genl_dereference, which are genl
variants of the RTNL functions to enforce proper locking with lockdep
and sparse.

Signed-off-by: Jesse Gross <jesse@nicira.com>
include/linux/genetlink.h