netlink: Export genl_lock() API for use by modules
authorJames Chapman <jchapman@katalix.com>
Fri, 2 Apr 2010 06:19:05 +0000 (06:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 21:56:05 +0000 (14:56 -0700)
commitf408e0ce40270559ef80f231843c93baa9947bc5
tree0a71cda13657bd3c058ed110714f4ac829a50ad2
parent0d76751fad7739014485ba5bd388d4f1b4fd4143
netlink: Export genl_lock() API for use by modules

This lets kernel modules which use genl netlink APIs serialize netlink
processing.

Signed-off-by: James Chapman <jchapman@katalix.com>
Reviewed-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/genetlink.h
net/netlink/genetlink.c