diff options
author | Duan Jiong <duanj.fnst@cn.fujitsu.com> | 2014-07-31 21:52:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-01 01:37:06 -0400 |
commit | 4330487acfff0cf1d7b14d238583a182e0a444bb (patch) | |
tree | 701d320ce2855b936ca0a65359377590a80a209b /net/ipv4 | |
parent | 7bcc6738eef36e7139c4293c321bc43f716e8d85 (diff) |
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/ipv4')
-rw-r--r-- | net/ipv4/ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ping.c b/net/ipv4/ping.c index 044a0ddf6a79..a3c59a077a5f 100644 --- a/net/ipv4/ping.c +++ b/net/ipv4/ping.c | |||
@@ -911,7 +911,7 @@ int ping_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, | |||
911 | sin6->sin6_flowinfo = ip6_flowinfo(ip6); | 911 | sin6->sin6_flowinfo = ip6_flowinfo(ip6); |
912 | sin6->sin6_scope_id = | 912 | sin6->sin6_scope_id = |
913 | ipv6_iface_scope_id(&sin6->sin6_addr, | 913 | ipv6_iface_scope_id(&sin6->sin6_addr, |
914 | IP6CB(skb)->iif); | 914 | inet6_iif(skb)); |
915 | *addr_len = sizeof(*sin6); | 915 | *addr_len = sizeof(*sin6); |
916 | } | 916 | } |
917 | 917 | ||