summaryrefslogtreecommitdiffstats
path: root/net/ipv6/udp.c
diff options
context:
space:
mode:
authorDuan Jiong2014-08-01 03:52:58 +0200
committerDavid S. Miller2014-08-01 07:37:06 +0200
commit4330487acfff0cf1d7b14d238583a182e0a444bb (patch)
tree701d320ce2855b936ca0a65359377590a80a209b /net/ipv6/udp.c
parentISDN: pcbit: off by one bugs in pcbit_set_msn() (diff)
downloadkernel-qcow2-linux-4330487acfff0cf1d7b14d238583a182e0a444bb.tar.gz
kernel-qcow2-linux-4330487acfff0cf1d7b14d238583a182e0a444bb.tar.xz
kernel-qcow2-linux-4330487acfff0cf1d7b14d238583a182e0a444bb.zip
net: use inet6_iif instead of IP6CB()->iif
Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r--net/ipv6/udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c
index c6941a1ac977..4836af8f582d 100644
--- a/net/ipv6/udp.c
+++ b/net/ipv6/udp.c
@@ -472,7 +472,7 @@ try_again:
sin6->sin6_addr = ipv6_hdr(skb)->saddr;
sin6->sin6_scope_id =
ipv6_iface_scope_id(&sin6->sin6_addr,
- IP6CB(skb)->iif);
+ inet6_iif(skb));
}
*addr_len = sizeof(*sin6);
}