netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH ipsec 0/2] xfrm: respect ip proto rules criteria in xfrm dst lookups
@ 2024-09-01 23:57 Eyal Birger
  2024-09-01 23:57 ` [PATCH ipsec 1/2] xfrm: extract dst lookup parameters into a struct Eyal Birger
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eyal Birger @ 2024-09-01 23:57 UTC (permalink / raw)
  To: steffen.klassert, herbert, davem, edumazet, kuba, dsahern, pabeni
  Cc: netdev, devel, Eyal Birger

This series fixes the route lookup when done for xfrm to regard
L4 criteria specified in ip rules.

The first patch is a minor refactor to allow passing more parameters
to dst lookup functions.
The second patch actually passes L4 information to these lookup functions.

Signed-off-by: Eyal Birger <eyal.birger@gmail.com>

Eyal Birger (2):
  xfrm: extract dst lookup parameters into a struct
  xfrm: respect ip protocols rules criteria when performing dst lookups

 include/net/xfrm.h      | 28 ++++++++++++-----------
 net/ipv4/xfrm4_policy.c | 40 +++++++++++++++------------------
 net/ipv6/xfrm6_policy.c | 31 +++++++++++++-------------
 net/xfrm/xfrm_device.c  | 11 ++++++---
 net/xfrm/xfrm_policy.c  | 49 +++++++++++++++++++++++++++++++----------
 5 files changed, 94 insertions(+), 65 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-09-02 10:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-01 23:57 [PATCH ipsec 0/2] xfrm: respect ip proto rules criteria in xfrm dst lookups Eyal Birger
2024-09-01 23:57 ` [PATCH ipsec 1/2] xfrm: extract dst lookup parameters into a struct Eyal Birger
2024-09-02  9:32   ` Simon Horman
2024-09-02 10:54     ` Eyal Birger
2024-09-01 23:57 ` [PATCH ipsec 2/2] xfrm: respect ip protocols rules criteria when performing dst lookups Eyal Birger
2024-09-02  8:00 ` [PATCH ipsec 0/2] xfrm: respect ip proto rules criteria in xfrm " Steffen Klassert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).