diff options
Diffstat (limited to 'net/dccp')
-rw-r--r-- | net/dccp/ipv6.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index eec3c4717890..83cc9bbc6208 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -93,8 +93,9 @@ static void dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | |||
93 | struct sock *sk; | 93 | struct sock *sk; |
94 | int err; | 94 | int err; |
95 | __u64 seq; | 95 | __u64 seq; |
96 | struct net *net = dev_net(skb->dev); | ||
96 | 97 | ||
97 | sk = inet6_lookup(dev_net(skb->dev), &dccp_hashinfo, | 98 | sk = inet6_lookup(net, &dccp_hashinfo, |
98 | &hdr->daddr, dh->dccph_dport, | 99 | &hdr->daddr, dh->dccph_dport, |
99 | &hdr->saddr, dh->dccph_sport, inet6_iif(skb)); | 100 | &hdr->saddr, dh->dccph_sport, inet6_iif(skb)); |
100 | 101 | ||