]> git.baikalelectronics.ru Git - kernel.git/commit
genetlink: Introduce genl_register_family_with_ops()
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Thu, 21 May 2009 10:34:04 +0000 (10:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 May 2009 23:50:22 +0000 (16:50 -0700)
commita42334edf80dfa6b6d24969d32e80cf343b45046
tree82c27ba3224309e442fffbaa7e5d9ae6453a20a1
parent4a073519c3ecdfaf5dbffa8a5072a0f20850f69b
genetlink: Introduce genl_register_family_with_ops()

This introduces genl_register_family_with_ops() that registers a genetlink
family along with operations from a table. This is used to kill copy'n'paste
occurrences in following patches.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/genetlink.h
net/netlink/genetlink.c