linux-kernelorg-stable/include
Nicolas Dichtel 252442f2ae ipv6: fix source address selection with route leak
By default, an address assigned to the output interface is selected when
the source address is not specified. This is problematic when a route,
configured in a vrf, uses an interface from another vrf (aka route leak).
The original vrf does not own the selected source address.

Let's add a check against the output interface and call the appropriate
function to select the source address.

CC: stable@vger.kernel.org
Fixes: 0d240e7811 ("net: vrf: Implement get_saddr for IPv6")
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Link: https://patch.msgid.link/20240710081521.3809742-3-nicolas.dichtel@6wind.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-07-14 07:34:16 -07:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kunit
kvm
linux spi: Fixes for v6.10 2024-07-11 12:07:50 -07:00
math-emu
media
memory
misc
net ipv6: fix source address selection with route leak 2024-07-14 07:34:16 -07:00
pcmcia
ras
rdma
rv
scsi
soc
sound
target
trace for-6.10-rc7-tag 2024-07-12 12:08:42 -07:00
uapi Char/Misc driver fixes for 6.10-final 2024-07-12 08:45:27 -07:00
ufs
vdso
video
xen