diff options
author | David Ahern <dsahern@gmail.com> | 2018-12-13 02:27:38 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-12-01 11:14:14 +0300 |
commit | 0293f8d1bdd21b3eb71032edb5832f9090dea48e (patch) | |
tree | 8b15076364a3ada8e785ec014e1af090cfa9f4cf /net/wireless/ap.c | |
parent | 058aa7307046ee8afd4386bb9710df5518d94569 (diff) | |
download | linux-0293f8d1bdd21b3eb71032edb5832f9090dea48e.tar.xz |
ipv6: Fix handling of LLA with VRF and sockets bound to VRF
[ Upstream commit c2027d1e17582903e368abf5d4838b22a98f2b7b ]
A recent commit allows sockets bound to a VRF to receive ipv6 link local
packets. However, it only works for UDP and worse TCP connection attempts
to the LLA with the only listener bound to the VRF just hang where as
before the client gets a reset and connection refused. Fix by adjusting
ir_iif for LL addresses and packets received through a device enslaved
to a VRF.
Fixes: 6f12fa775530 ("vrf: mark skb for multicast or link-local as enslaved to VRF")
Reported-by: Donald Sharp <sharpd@cumulusnetworks.com>
Cc: Mike Manning <mmanning@vyatta.att-mail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/wireless/ap.c')
0 files changed, 0 insertions, 0 deletions