net: Add _nf_(un)register_hooks symbols
authorMahesh Bandewar <maheshb@google.com>
Fri, 16 Sep 2016 19:59:13 +0000 (12:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Sep 2016 05:25:22 +0000 (01:25 -0400)
commite8bffe0cf964f0330595bb376b74921cccdaac88
treec3361b07773fa3d0900c4a5b10b44c77a3155806
parentd409b84768037ad03d1d73538d99fb902adf7365
net: Add _nf_(un)register_hooks symbols

Add _nf_register_hooks() and _nf_unregister_hooks() calls which allow
caller to hold RTNL mutex.

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
CC: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter.h
net/netfilter/core.c