commit | b32e8fbeace6117b00b072eef3f1726149fe0298 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Nov 30 18:41:35 2023 +0000 |
committer | Jakub Kicinski <kuba@kernel.org> | Fri Dec 01 19:31:10 2023 -0800 |
tree | 98bce6b2b40be12f5d5ff05a70b944ca436761b1 | |
parent | 527d2cd8b852e06c25c129fe400832bf88d2b5b0 [diff] |
tcp: tcp_gro_dev_warn() cleanup Use DO_ONCE_LITE_IF() and __cold attribute to put tcp_gro_dev_warn() out of line. This also allows the message to be printed again after a "echo 1 > /sys/kernel/debug/clear_warn_once" Also add a READ_ONCE() when reading device mtu, as it could be changed concurrently. Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20231130184135.4130860-1-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>