[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240901235737.2757335-1-eyal.birger@gmail.com>
Date: Sun, 1 Sep 2024 16:57:35 -0700
From: Eyal Birger <eyal.birger@...il.com>
To: steffen.klassert@...unet.com,
herbert@...dor.apana.org.au,
davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
dsahern@...nel.org,
pabeni@...hat.com
Cc: netdev@...r.kernel.org,
devel@...ux-ipsec.org,
Eyal Birger <eyal.birger@...il.com>
Subject: [PATCH ipsec 0/2] xfrm: respect ip proto rules criteria in xfrm dst lookups
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@...il.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
Powered by blists - more mailing lists