diff options
author | 2025-04-08 11:32:01 -0700 | |
---|---|---|
committer | 2025-04-10 18:34:05 -0700 | |
commit | b1e904999542ad6764eafa54545f1c55776006d1 (patch) | |
tree | a2ae4660799adfafaaa761766e79593d702ef16b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | Merge branch 'net-stmmac-stmmac_pltfr_find_clk' (diff) | |
download | wireguard-linux-b1e904999542ad6764eafa54545f1c55776006d1.tar.xz wireguard-linux-b1e904999542ad6764eafa54545f1c55776006d1.zip |
net: pass const to msg_data_left()
The msg_data_left() function doesn't modify the struct msghdr parameter,
so mark it as const. This allows the function to be used with const
references, improving type safety and making the API more flexible.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250408-tcpsendmsg-v3-1-208b87064c28@debian.org
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