WSL2-Linux-Kernel/net
Patrick McHardy 6e1d91039b [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>
2007-06-03 18:08:51 -07:00
..
802
8021q [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
appletalk
atm
ax25
bluetooth
bridge
core [NET] gso: Fix GSO feature mask in sk_setup_caps 2007-06-03 18:08:49 -07:00
dccp [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
decnet
econet
ethernet
ieee80211
ipv4 [ICMP]: Fix icmp_errors_use_inbound_ifaddr sysctl 2007-06-03 18:08:51 -07:00
ipv6 [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
ipx
irda
iucv
key
lapb
llc
mac80211
netfilter
netlabel
netlink
netrom
packet
rfkill
rose
rxrpc
sched [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
sctp [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
sunrpc
tipc
unix [AF_UNIX]: Fix datagram connect race causing an OOPS. 2007-06-03 18:08:42 -07:00
wanrouter [NET]: Fix comparisons of unsigned < 0. 2007-06-03 18:08:47 -07:00
wireless
x25
xfrm
Kconfig
Makefile
TUNABLE
compat.c
nonet.c
socket.c
sysctl_net.c