diff options
Diffstat (limited to 'net/ipv4/icmp.c')
-rw-r--r-- | net/ipv4/icmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 994a785d98f9..1771ce662548 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c | |||
@@ -563,7 +563,7 @@ void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) | |||
563 | rcu_read_lock(); | 563 | rcu_read_lock(); |
564 | if (rt_is_input_route(rt) && | 564 | if (rt_is_input_route(rt) && |
565 | net->ipv4.sysctl_icmp_errors_use_inbound_ifaddr) | 565 | net->ipv4.sysctl_icmp_errors_use_inbound_ifaddr) |
566 | dev = dev_get_by_index_rcu(net, rt->fl.iif); | 566 | dev = dev_get_by_index_rcu(net, rt->rt_iif); |
567 | 567 | ||
568 | if (dev) | 568 | if (dev) |
569 | saddr = inet_select_addr(dev, 0, RT_SCOPE_LINK); | 569 | saddr = inet_select_addr(dev, 0, RT_SCOPE_LINK); |