mbox series

[ipsec,0/2] ipsec interfaces: fix sending with bpf_redirect() / AF_PACKET sockets

Message ID 20191231165654.19434-1-nicolas.dichtel@6wind.com
Headers show
Series ipsec interfaces: fix sending with bpf_redirect() / AF_PACKET sockets | expand

Message

Nicolas Dichtel Dec. 31, 2019, 4:56 p.m. UTC
Before those patches, packets sent to a vti[6]/xfrm interface via
bpf_redirect() or via an AF_PACKET socket were dropped, mostly because
no dst was attached.

 net/ipv4/ip_vti.c         | 10 ++++++++--
 net/ipv6/ip6_vti.c        | 11 +++++++++--
 net/xfrm/xfrm_interface.c | 21 +++++++++++++++++----
 3 files changed, 34 insertions(+), 8 deletions(-)

Regards,
Nicolas