summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-06-05 10:15:51 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-06-06 16:18:04 +0300
commitc34506406dd5cfb352f8c53bb6a1b9535c0905dd (patch)
tree97925102486c99f489eacfca20f12a415756d890 /net/ipv4/tcp_input.c
parentfe300258a501d647dca6f7104f4dfea2ec33c581 (diff)
downloadlinux-c34506406dd5cfb352f8c53bb6a1b9535c0905dd.tar.xz
tcp: small changes in reqsk_put() and reqsk_free()
In reqsk_free(), use DEBUG_NET_WARN_ON_ONCE() instead of WARN_ON_ONCE() for a condition which never fired. In reqsk_put() directly call __reqsk_free(), there is no point checking rsk_refcnt again right after a transition to zero. Signed-off-by: Eric Dumazet <edumazet@google.com> Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions