diff options
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index 5e1ee0da2c40..caa7f3469626 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -805,10 +805,8 @@ static int dccp_v6_rcv(struct sk_buff *skb) | |||
805 | 805 | ||
806 | /* Step 2: | 806 | /* Step 2: |
807 | * Look up flow ID in table and get corresponding socket */ | 807 | * Look up flow ID in table and get corresponding socket */ |
808 | sk = __inet6_lookup(dev_net(skb->dst->dev), &dccp_hashinfo, | 808 | sk = __inet6_lookup_skb(&dccp_hashinfo, skb, |
809 | &ipv6_hdr(skb)->saddr, dh->dccph_sport, | 809 | dh->dccph_sport, dh->dccph_dport); |
810 | &ipv6_hdr(skb)->daddr, ntohs(dh->dccph_dport), | ||
811 | inet6_iif(skb)); | ||
812 | /* | 810 | /* |
813 | * Step 2: | 811 | * Step 2: |
814 | * If no socket ... | 812 | * If no socket ... |