From: Cui GaoSheng cuigaosheng1@huawei.com
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4KKML DTS: NA CVE: NA
---------------------------------------------------------
Reserve space in net_namespace.h
Signed-off-by: Cui GaoSheng cuigaosheng1@huawei.com Reviewed-by: Xiu Jianfeng xiujianfeng@huawei.com Signed-off-by: Zheng Zengkai zhengzengkai@huawei.com --- include/net/net_namespace.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index eb0e7731f3b1..c7faca9d7447 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -38,6 +38,7 @@ #include <linux/idr.h> #include <linux/skbuff.h> #include <linux/notifier.h> +#include <linux/kabi.h>
struct user_namespace; struct proc_dir_entry; @@ -189,6 +190,11 @@ struct net { struct sock *crypto_nlsk; #endif struct sock *diag_nlsk; + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) } __randomize_layout;
#include <linux/seq_file_net.h>