Skip to content

Add support for xfrm state direction attribute

Christian Hopps netdev 1 version Applied

Status from this message: applied to iproute2-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2xfrm: add SA direction attributeinclude/uapi/linux/xfrm.h ip/ipxfrm.c ip/xfrm_state.c+51 -162 replies
2/2xfrm: document new SA direction optionman/man8/ip-xfrm.8+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH iproute-next v1 0/2] Add support for xfrm state direction attribute

Summary of Changes:

This patchset adds support for setting the new xfrm state direction attribute.

The change also takes into account the existing "offload" direction atttribute. If the user is already setting the direction when enabling offload then that direciton value is used, and the general "dir in|out" need not additionally be specified.

This work was started based on an earlier patch from "Antony Antony" <[email protected]>

Patchset Changes:

  4 files changed, 57 insertions(+), 16 deletions(-)
  include/uapi/linux/xfrm.h |  6 ++++++
  ip/ipxfrm.c               | 12 ++++++++++++
  ip/xfrm_state.c           | 49 +++++++++++++++++++++++++++++++----------------
  man/man8/ip-xfrm.8        |  6 ++++++