]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit6706721d82f86e9360c3ad5339fe3da5e0988a51
treeb3be71bd3b7d03edd4d8164ee65f7fa2f878bf9d
parentecd89c02da85f724a2d24bc5a7e28043cc24b5d7
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