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 {