diff mbox series

[RFC,nf-next] netfilter: core: __nf_unregister_net_hook() can be static

Message ID 20171219172540.GA56682@lkp-sb05
State Accepted
Delegated to: Pablo Neira
Headers show
Series [RFC,nf-next] netfilter: core: __nf_unregister_net_hook() can be static | expand

Commit Message

kbuild test robot Dec. 19, 2017, 5:25 p.m. UTC
Fixes: ac119d8cd089 ("netfilter: core: support for NFPROTO_INET hook registration")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 core.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Pablo Neira Ayuso Dec. 20, 2017, 11:18 p.m. UTC | #1
On Wed, Dec 20, 2017 at 01:25:40AM +0800, kbuild test robot wrote:
> 
> Fixes: ac119d8cd089 ("netfilter: core: support for NFPROTO_INET hook registration")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

I have folded this patch to my patchset, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/net/netfilter/core.c b/net/netfilter/core.c
index 606efc9..9ace162 100644
--- a/net/netfilter/core.c
+++ b/net/netfilter/core.c
@@ -400,8 +400,8 @@  static void nf_remove_net_hook(struct nf_hook_entries *old,
 	}
 }
 
-void __nf_unregister_net_hook(struct net *net, int pf,
-			      const struct nf_hook_ops *reg)
+static void __nf_unregister_net_hook(struct net *net, int pf,
+				     const struct nf_hook_ops *reg)
 {
 	struct nf_hook_entries __rcu **pp;
 	struct nf_hook_entries *p;