diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-11-08 18:24:39 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2022-11-08 18:24:39 +0000 |
commit | f71cb9f74808facc9d3e6854f96da2afbed8a1e3 (patch) | |
tree | 3672f8a8dd2b8f1ada9c27d8df4f32cc4e0c05c8 /sys/netinet/tcp_lro.c | |
parent | ada90cb978e14fdb539fb7c3557f1e9e4f9acdcb (diff) | |
download | src-f71cb9f74808facc9d3e6854f96da2afbed8a1e3.tar.gz src-f71cb9f74808facc9d3e6854f96da2afbed8a1e3.zip |
tcp: inp_socket is valid through the lifetime of a TCP inpcb
The inp_socket is cleared only in in_pcbdetach(), which for TCP is
always accompanied with inp_pcbfree(). An inpcb that went through
in_pcbfree() shall never be returned by any kind of pcb lookup.
Reviewed by: tuexen
Differential revision: https://reviews.freebsd.org/D37062
Diffstat (limited to 'sys/netinet/tcp_lro.c')
0 files changed, 0 insertions, 0 deletions