diff options
author | Eric Dumazet <[email protected]> | 2023-11-30 18:41:35 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-12-01 19:31:10 -0800 |
commit | b32e8fbeace6117b00b072eef3f1726149fe0298 (patch) | |
tree | 98bce6b2b40be12f5d5ff05a70b944ca436761b1 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions