diff options
| author | Eric Dumazet <[email protected]> | 2024-06-05 07:15:51 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-06-06 13:18:04 +0000 |
| commit | c34506406dd5cfb352f8c53bb6a1b9535c0905dd (patch) | |
| tree | 97925102486c99f489eacfca20f12a415756d890 /net/unix/af_unix.c | |
| parent | Merge branch 'mptcp-misc-cleanups' (diff) | |
| download | kernel-c34506406dd5cfb352f8c53bb6a1b9535c0905dd.tar.gz kernel-c34506406dd5cfb352f8c53bb6a1b9535c0905dd.zip | |
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 <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
