summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2024-05-02 11:05:11 +0300
committerSteffen Klassert <steffen.klassert@secunet.com>2024-05-02 11:05:11 +0300
commitdcf280ea0aad87e70ef1646d579d11f8a52f8b67 (patch)
treeda0e570b3e383fa17234a4a210a43d7c492b4000 /Documentation
parentaeb48a428d7dbe636203ae892e981bcc3e2ac042 (diff)
parent451b509678978250702bd833c69276e70531f07a (diff)
downloadlinux-dcf280ea0aad87e70ef1646d579d11f8a52f8b67.tar.xz
Merge remote branch 'xfrm: Introduce direction attribute for SA'
Antony Antony says: ==================== Inspired by the upcoming IP-TFS patch set, and confusions experienced in the past due to lack of direction attribute on SAs, add a new direction "dir" attribute. It aims to streamline the SA configuration process and enhance the clarity of existing SA attributes. This patch set introduces the 'dir' attribute to SA, aka xfrm_state, ('in' for input or 'out' for output). Alsp add validations of existing direction-specific SA attributes during configuration and in the data path lookup. This change would not affect any existing use case or way of configuring SA. You will notice improvements when the new 'dir' attribute is set. ==================== Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/xfrm_proc.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/networking/xfrm_proc.rst b/Documentation/networking/xfrm_proc.rst
index 0a771c5a7399..973d1571acac 100644
--- a/Documentation/networking/xfrm_proc.rst
+++ b/Documentation/networking/xfrm_proc.rst
@@ -73,6 +73,9 @@ XfrmAcquireError:
XfrmFwdHdrError:
Forward routing of a packet is not allowed
+XfrmInStateDirError:
+ State direction mismatch (lookup found an output state on the input path, expected input or no direction)
+
Outbound errors
~~~~~~~~~~~~~~~
XfrmOutError:
@@ -111,3 +114,6 @@ XfrmOutPolError:
XfrmOutStateInvalid:
State is invalid, perhaps expired
+
+XfrmOutStateDirError:
+ State direction mismatch (lookup found an input state on the output path, expected output or no direction)