hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/include/uapi/linux/xfrm.h
....@@ -387,6 +387,7 @@
387387 };
388388
389389 #define XFRM_SA_XFLAG_DONT_ENCAP_DSCP 1
390
+#define XFRM_SA_XFLAG_OSEQ_MAY_WRAP 2
390391
391392 struct xfrm_usersa_id {
392393 xfrm_address_t daddr;
....@@ -504,6 +505,12 @@
504505 int ifindex;
505506 __u8 flags;
506507 };
508
+/* This flag was exposed without any kernel code that supporting it.
509
+ * Unfortunately, strongswan has the code that uses sets this flag,
510
+ * which makes impossible to reuse this bit.
511
+ *
512
+ * So leave it here to make sure that it won't be reused by mistake.
513
+ */
507514 #define XFRM_OFFLOAD_IPV6 1
508515 #define XFRM_OFFLOAD_INBOUND 2
509516