aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2022-03-04 14:26:09 -0800
committerStephen Hemminger <stephen@networkplumber.org>2022-03-04 14:26:09 -0800
commit86a1452b472af2bdfc4ceeffb650938af3a83fe4 (patch)
tree7f05c131385d2cb02248282f4d05fe5c37808975
parent09c6a3d23fdcf52b4870dc7b45ceadfb92d4ec6b (diff)
downloadiproute2-86a1452b472af2bdfc4ceeffb650938af3a83fe4.tar.gz
uapi: update to xfrm.h
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--include/uapi/linux/xfrm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/linux/xfrm.h b/include/uapi/linux/xfrm.h
index 3ffa107c7..06ad9afb5 100644
--- a/include/uapi/linux/xfrm.h
+++ b/include/uapi/linux/xfrm.h
@@ -511,6 +511,12 @@ struct xfrm_user_offload {
int ifindex;
__u8 flags;
};
+/* This flag was exposed without any kernel code that supporting it.
+ * Unfortunately, strongswan has the code that uses sets this flag,
+ * which makes impossible to reuse this bit.
+ *
+ * So leave it here to make sure that it won't be reused by mistake.
+ */
#define XFRM_OFFLOAD_IPV6 1
#define XFRM_OFFLOAD_INBOUND 2