]> git.hungrycats.org Git - linux/commit
o net: module refcounting for sk_alloc/sk_free
authorArnaldo Carvalho de Melo <acme@conectiva.com.br>
Tue, 22 Apr 2003 23:53:59 +0000 (20:53 -0300)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Tue, 22 Apr 2003 23:53:59 +0000 (20:53 -0300)
commit43062f4f0bfdaad3b1955271c8e252c9e5aade05
tree67ee36b51381b907f4e7ec38dd39f47ea4a1ba6a
parent5ac8451abba1f31689b34468dc33ebf1b5015258
o net: module refcounting for sk_alloc/sk_free

I had to move the rtnetlink_init and init_netlink calls to af_netlink init time, so that
the sk_alloc called down the rtnetlink_init callchain is done after the PF_NETLINK
net_proto_family is sock_registered, and because of that the af_netlink init function
call had to be moved to earlier by means of subsys_initcall (DaveM's suggestion).
include/linux/net.h
net/core/sock.c
net/netlink/af_netlink.c
net/socket.c