summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-12-04 12:20:41 +0100
committerAdrian Bunk <bunk@stusta.de>2006-12-04 12:20:41 +0100
commitb3d413d405f1b25d0ed98000f285394cf12a2c99 (patch)
tree1f6da57ac13335965b0e0e7dd3cdd1d364f93b1b /net/dccp
parent8cf6005296c61ff46afcc1f08b1791b4aa2e9ba5 (diff)
[IPV6]: Fix address/interface handling in UDP and DCCP, according to the scoping architecture.
TCP and RAW do not have this issue. Closes Bug #7432. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index 80c4d048869e..d75639abca02 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -274,7 +274,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);