X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fdccp%2Fipv6.c;h=3744c246c42e857f27476b3a865fc3db1d7e3c60;hb=567f20a20be06ad546b5962340c4be268462055b;hp=610c722ac27f09a7308df128c56caecc0180bb4b;hpb=653a9213ae6f303790975dd836d95778aab070de;p=linux-2.6.git diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index 610c722ac..3744c246c 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c @@ -276,7 +276,7 @@ static void dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, __u64 seq; sk = inet6_lookup(&dccp_hashinfo, &hdr->daddr, dh->dccph_dport, - &hdr->saddr, dh->dccph_sport, skb->dev->ifindex); + &hdr->saddr, dh->dccph_sport, inet6_iif(skb)); if (sk == NULL) { ICMP6_INC_STATS_BH(__in6_dev_get(skb->dev), ICMP6_MIB_INERRORS);