summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_input.c
diff options
context:
space:
mode:
authorNikolay Borisov <kernel@kyup.com>2016-02-15 12:11:30 +0200
committerDavid S. Miller <davem@davemloft.net>2016-02-16 20:42:54 -0500
commite21145a9871aa5ae07e01926105bb8e523d64095 (patch)
tree528353414eb8388a482e7be79a391b1d9d9aba6c /net/ipv6/ip6_input.c
parent287b7f38fd6842e534db1783cead3843f7677b79 (diff)
downloadblackbird-op-linux-e21145a9871aa5ae07e01926105bb8e523d64095.tar.gz
blackbird-op-linux-e21145a9871aa5ae07e01926105bb8e523d64095.zip
ipv4: namespacify ip_early_demux sysctl knob
Signed-off-by: Nikolay Borisov <kernel@kyup.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_input.c')
-rw-r--r--net/ipv6/ip6_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_input.c b/net/ipv6/ip6_input.c
index 31ac3c56da4b..c05c425c2389 100644
--- a/net/ipv6/ip6_input.c
+++ b/net/ipv6/ip6_input.c
@@ -49,7 +49,7 @@
int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb)
{
- if (sysctl_ip_early_demux && !skb_dst(skb) && skb->sk == NULL) {
+ if (net->ipv4.sysctl_ip_early_demux && !skb_dst(skb) && skb->sk == NULL) {
const struct inet6_protocol *ipprot;
ipprot = rcu_dereference(inet6_protos[ipv6_hdr(skb)->nexthdr]);
OpenPOWER on IntegriCloud