diff options
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 882c5c4de69e..e3dfddab21cc 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -811,9 +811,8 @@ static int dccp_v4_rcv(struct sk_buff *skb) | |||
811 | 811 | ||
812 | /* Step 2: | 812 | /* Step 2: |
813 | * Look up flow ID in table and get corresponding socket */ | 813 | * Look up flow ID in table and get corresponding socket */ |
814 | sk = __inet_lookup(dev_net(skb->dst->dev), &dccp_hashinfo, | 814 | sk = __inet_lookup_skb(&dccp_hashinfo, skb, |
815 | iph->saddr, dh->dccph_sport, | 815 | dh->dccph_sport, dh->dccph_dport); |
816 | iph->daddr, dh->dccph_dport, inet_iif(skb)); | ||
817 | /* | 816 | /* |
818 | * Step 2: | 817 | * Step 2: |
819 | * If no socket ... | 818 | * If no socket ... |