hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I908BZ CVE: NA
-------------------------------
Reserve space for struct rate_sample in tcp.h.
Signed-off-by: Liu Jian liujian56@huawei.com --- include/net/tcp.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/include/net/tcp.h b/include/net/tcp.h index 6f821f37e5aa..8648be00767e 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -26,6 +26,7 @@ #include <linux/kref.h> #include <linux/ktime.h> #include <linux/indirect_call_wrapper.h> +#include <linux/kabi.h>
#include <net/inet_connection_sock.h> #include <net/inet_timewait_sock.h> @@ -1060,6 +1061,8 @@ struct rate_sample { bool is_app_limited; /* is sample from packet with bubble in pipe? */ bool is_retrans; /* is sample from retransmission? */ bool is_ack_delayed; /* is this (likely) a delayed ACK? */ + KABI_RESERVE(1) + KABI_RESERVE(2) };
struct tcp_congestion_ops {
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/4372 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/I...
FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/4372 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/I...