• Arnaldo Carvalho de Melo's avatar
    o net: module refcounting for sk_alloc/sk_free · 43062f4f
    Arnaldo Carvalho de Melo authored
    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).
    43062f4f
af_netlink.c 23 KB