RFC xfrm: Add support for SA direction and output cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | uapi: Update kernel headers xfrm.hinclude/ | +6 | 0 replies | |
| 2/3 | xfrm: support xfrm SA direction attributeip/ ip/ | +52 | 3 replies | |
| 3/3 | xfrm: update ip xfrm state output for SA with direction attributeip/ | +90 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC iproute2-next 0/3] xfrm: Add support for SA direction and output cleanup
Kernel added SA direction in commit
179a6f5df8da ("Merge tag 'ipsec-next-2024-05-03' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next")
This commit adds iproute2 support for SA direction. Additionally, redundant fields in the "ip xfrm state" output are removed when SA direction is set. This series keeps the old behavior when the direction is not set.
Signed-off-by Antony Antony <[email protected]>
---
Antony Antony (3):
uapi: Update kernel headers xfrm.h
xfrm: support xfrm SA direction attribute
xfrm: update ip xfrm state output for SA with direction attribute
include/uapi/linux/xfrm.h | 6 ++ ip/ipxfrm.c | 126 +++++++++++++++++++++++++++----------- ip/xfrm_state.c | 44 +++++++++++-- 3 files changed, 136 insertions(+), 40 deletions(-)
--
2.30.2