Thread (16 messages) 16 messages, 2 authors, 2020-01-27

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

From: Nicolas Dichtel <hidden>
Date: 2020-01-27 09:28:16

Le 15/01/2020 à 10:56, Steffen Klassert a écrit :
On Mon, Jan 13, 2020 at 09:32:45AM +0100, Nicolas Dichtel wrote:
quoted
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.

v2 -> v3:
  - fix flowi info for the route lookup

v1 -> v2:
  - remove useless check against skb_dst() in xfrmi_xmit2()
  - keep incrementing tx_carrier_errors in case of route lookup failure

 net/ipv4/ip_vti.c         | 13 +++++++++++--
 net/ipv6/ip6_vti.c        | 13 +++++++++++--
 net/xfrm/xfrm_interface.c | 32 +++++++++++++++++++++++++-------
 3 files changed, 47 insertions(+), 11 deletions(-)
Applied to the ipsec tree, thanks a lot!
Thanks. Those patches are now in Linus tree:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=95224166a903
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f042365dbffe

Could you queue them for stable trees?


Thank you,
Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help