aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2024-07-10 10:14:28 +0200
committerJakub Kicinski <kuba@kernel.org>2024-07-14 07:34:16 -0700
commit252442f2ae317d109ef0b4b39ce0608c09563042 (patch)
tree3dca778da702f1179abe728bf8c9558bbd0922f4 /scripts/generate_rust_analyzer.py
parentipv4: fix source address selection with route leak (diff)
downloadlinux-rng-252442f2ae317d109ef0b4b39ce0608c09563042.tar.xz
linux-rng-252442f2ae317d109ef0b4b39ce0608c09563042.zip
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: 0d240e7811c4 ("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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions