diff options
author | Eric Dumazet <edumazet@google.com> | 2024-04-16 16:11:12 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-17 18:30:58 -0700 |
commit | ade1c9cc404a15057b62888352e57fd5f54c5331 (patch) | |
tree | a2825b4cffafda09a089e3158ec45cc9fdcfae6c /net/unix/sysctl_net_unix.c | |
parent | 1514b06aff1681a418089060f0ebe936c27481bc (diff) |
tcp_metrics: fix tcp_metrics_nl_dump() return value
Change tcp_metrics_nl_dump() to return 0 at the end
of a dump so that NLMSG_DONE can be appended
to the current skb, saving one recvmsg() system call.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240416161112.1199265-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions