提交 f25965f8 编写于 作者: Z Zheng Zengkai

ipv6: fix kabi for mc_forwarding in struct ipv6_devconf

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5GL1Z
CVE: NA

---------------------------------------

Making mc_forwarding atomic breaks the KABI of struct ipv6_devconf.
This patch uses KABI_REPLACE to fix it.
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: NWei Li <liwei391@huawei.com>
上级 c13a5d0e
...@@ -51,7 +51,7 @@ struct ipv6_devconf { ...@@ -51,7 +51,7 @@ struct ipv6_devconf {
__s32 use_optimistic; __s32 use_optimistic;
#endif #endif
#ifdef CONFIG_IPV6_MROUTE #ifdef CONFIG_IPV6_MROUTE
atomic_t mc_forwarding; KABI_REPLACE(__s32 mc_forwarding, atomic_t mc_forwarding)
#endif #endif
__s32 disable_ipv6; __s32 disable_ipv6;
__s32 drop_unicast_in_l2_multicast; __s32 drop_unicast_in_l2_multicast;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册