netlink: add nlk->netlink_bind hook for module auto-loading
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 29 Jun 2012 06:15:22 +0000 (06:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2012 23:46:06 +0000 (16:46 -0700)
This patch adds a hook in the binding path of netlink.

This is used by ctnetlink to allow module autoloading for the case
in which one user executes:

 conntrack -E

So far, this resulted in nfnetlink loaded, but not
nf_conntrack_netlink.

I have received in the past many complains on this behaviour.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found