From b809fb63adcda7223e4c19370fcc567128332e49 Mon Sep 17 00:00:00 2001 From: Liu Jian Date: Wed, 31 Jan 2024 18:24:15 +0800 Subject: [PATCH] kabi: reserve space for struct rate_sample 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 --- include/net/tcp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/net/tcp.h b/include/net/tcp.h index f4adfba58b31..e91284e01f23 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -1061,6 +1062,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 { -- Gitee