netfilter: core: pass family as parameter to nf_remove_net_hook()
authorPablo Neira Ayuso <pablo@netfilter.org>
Sat, 9 Dec 2017 14:26:37 +0000 (15:26 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Jan 2018 17:01:19 +0000 (18:01 +0100)
commit30259408118f550f5969fda19c0d67020d21eda8
tree865b66ed6f35d83e9b2aab627c92f7782d687b1b
parent62a0fe46e2aaba1812d3cbcae014a41539f9eb09
netfilter: core: pass family as parameter to nf_remove_net_hook()

So static_key_slow_dec applies to the family behind NFPROTO_INET.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/core.c