aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristian Brauner <christian@brauner.io>2019-06-10 23:26:05 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-06-17 16:36:30 +0200
commitff6d090d0db41425aef0cfe5dc58bb3cc12514a2 (patch)
tree37aa60493aa22dc443f01d7525df127d1d57ef14 /include
parentnetfilter: xt_owner: bail out with EINVAL in case of unsupported flags (diff)
downloadlinux-dev-ff6d090d0db41425aef0cfe5dc58bb3cc12514a2.tar.xz
linux-dev-ff6d090d0db41425aef0cfe5dc58bb3cc12514a2.zip
netfilter: bridge: port sysctls to use brnf_net
This ports the sysctls to use struct brnf_net. With this patch we make it possible to namespace the br_netfilter module in the following patch. Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/netfilter/br_netfilter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/netfilter/br_netfilter.h b/include/net/netfilter/br_netfilter.h
index 89808ce293c4..302fcd3aade2 100644
--- a/include/net/netfilter/br_netfilter.h
+++ b/include/net/netfilter/br_netfilter.h
@@ -42,7 +42,8 @@ static inline struct rtable *bridge_parent_rtable(const struct net_device *dev)
return port ? &port->br->fake_rtable : NULL;
}
-struct net_device *setup_pre_routing(struct sk_buff *skb);
+struct net_device *setup_pre_routing(struct sk_buff *skb,
+ const struct net *net);
#if IS_ENABLED(CONFIG_IPV6)
int br_validate_ipv6(struct net *net, struct sk_buff *skb);