]> git.baikalelectronics.ru Git - kernel.git/commit
tcp_yeah: check struct yeah size at compile time
authorEric Dumazet <edumazet@google.com>
Tue, 29 Jun 2021 13:52:13 +0000 (06:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2021 18:54:36 +0000 (11:54 -0700)
commit3761ebc4b259726c6572e72b5f62cec9217e0f77
treeb3be71bd3b7d03edd4d8164ee65f7fa2f878bf9d
parentdbfea1298bf71248e77dbbcefb512211d0d1593f
tcp_yeah: check struct yeah size at compile time

Compiler can perform the sanity check instead of waiting
to load the module and crash the host.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_yeah.c