summaryrefslogtreecommitdiff
path: root/net/802/p8022.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-06-01 18:45:04 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2007-06-04 01:08:51 (GMT)
commit6e1d91039becc9d5bcd046d8c709dbaf471220e3 (patch)
treebd12a1493d5651aed36f7606c72e146bbf7c0c60 /net/802/p8022.c
parent584bdf8cbdf6f277c2a00e083257ee75687cf6f4 (diff)
downloadlinux-fsl-qoriq-6e1d91039becc9d5bcd046d8c709dbaf471220e3.tar.xz
[ICMP]: Fix icmp_errors_use_inbound_ifaddr sysctl
Currently when icmp_errors_use_inbound_ifaddr is set and an ICMP error is sent after the packet passed through ip_output(), an address from the outgoing interface is chosen as ICMP source address since skb->dev doesn't point to the incoming interface anymore. Fix this by doing an interface lookup on rt->dst.iif and using that device. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802/p8022.c')
0 files changed, 0 insertions, 0 deletions