hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/include/net/netns/xfrm.h
....@@ -5,7 +5,9 @@
55 #include <linux/list.h>
66 #include <linux/wait.h>
77 #include <linux/workqueue.h>
8
+#include <linux/rhashtable-types.h>
89 #include <linux/xfrm.h>
10
+#include <linux/android_kabi.h>
911 #include <net/dst_ops.h>
1012
1113 struct ctl_table_header;
....@@ -53,6 +55,7 @@
5355 unsigned int policy_count[XFRM_POLICY_MAX * 2];
5456 struct work_struct policy_hash_work;
5557 struct xfrm_policy_hthresh policy_hthresh;
58
+ struct list_head inexact_bins;
5659
5760
5861 struct sock *nlsk;
....@@ -70,9 +73,13 @@
7073 #if IS_ENABLED(CONFIG_IPV6)
7174 struct dst_ops xfrm6_dst_ops;
7275 #endif
73
- spinlock_t xfrm_state_lock;
76
+ spinlock_t xfrm_state_lock;
77
+ seqcount_spinlock_t xfrm_state_hash_generation;
78
+
7479 spinlock_t xfrm_policy_lock;
7580 struct mutex xfrm_cfg_mutex;
81
+
82
+ ANDROID_KABI_RESERVE(1);
7683 };
7784
7885 #endif