diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-08-22 19:07:01 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-25 17:53:36 -0700 |
| commit | 382a4d9cb6dc07643345e15c49738088a727d29b (patch) | |
| tree | 623bacf1ea1fb25c7543224f981e93daf0fa9ea6 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | f1241200cd66b3e25fd2a44dd961d9720e965aa1 (diff) | |
tcp: Move TCP-specific diag functions to tcp_diag.c.
tcp_diag_dump() / tcp_diag_dump_one() is just a wrapper of
inet_diag_dump_icsk() / inet_diag_dump_one_icsk(), respectively.
Let's inline them in tcp_diag.c and move static callees as well.
Note that inet_sk_attr_size() is merged into tcp_diag_get_aux_size(),
and we remove inet_diag_handler.idiag_get_aux_size() accordingly.
While at it, BUG_ON() is replaced with DEBUG_NET_WARN_ON_ONCE().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250822190803.540788-7-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
