firmware/br-ext-chip-goke/board/gk7205v200/kernel/patches/00_net-ipv4-tcp.c.patch

11 lines
345 B
Diff

--- linux-4.9.37/net/ipv4/tcp.c 2017-07-12 16:42:41.000000000 +0300
+++ linux-4.9.y/net/ipv4/tcp.c 2021-06-07 13:01:34.000000000 +0300
@@ -3289,6 +3289,7 @@
unsigned long limit;
unsigned int i;
+ BUILD_BUG_ON(TCP_MIN_SND_MSS <= MAX_TCP_OPTION_SPACE);
BUILD_BUG_ON(sizeof(struct tcp_skb_cb) >
FIELD_SIZEOF(struct sk_buff, cb));