[NETLINK]: Add properly module refcounting for kernel netlink sockets.
authorHarald Welte <laforge@netfilter.org>
Wed, 10 Aug 2005 02:40:55 +0000 (19:40 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 22:35:08 +0000 (15:35 -0700)
commit4fdb3bb723db469717c6d38fda667d8b0fa86ebd
tree43d82e717922e6319cf8a8f9dc5ee902c651b491
parent020b4c12dbe3868d792a01d7c1470cd837abe10f
[NETLINK]: Add properly module refcounting for kernel netlink sockets.

- Remove bogus code for compiling netlink as module
- Add module refcounting support for modules implementing a netlink
  protocol
- Add support for autoloading modules that implement a netlink protocol
  as soon as someone opens a socket for that protocol

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
17 files changed:
drivers/w1/w1_int.c
include/linux/net.h
include/linux/netlink.h
kernel/audit.c
lib/kobject_uevent.c
net/bridge/netfilter/ebt_ulog.c
net/core/rtnetlink.c
net/decnet/netfilter/dn_rtmsg.c
net/ipv4/fib_frontend.c
net/ipv4/netfilter/ip_queue.c
net/ipv4/netfilter/ipt_ULOG.c
net/ipv4/tcp_diag.c
net/ipv6/netfilter/ip6_queue.c
net/netfilter/nfnetlink.c
net/netlink/af_netlink.c
net/xfrm/xfrm_user.c
security/selinux/netlink.c