diff options
author | jch <jch@FreeBSD.org> | 2016-10-25 12:58:36 +0000 |
---|---|---|
committer | jch <jch@FreeBSD.org> | 2016-10-25 12:58:36 +0000 |
commit | 6498e6ff373c949b402b936ee26e299074de318a (patch) | |
tree | d2bc5fed5e991a1f8c82f1f5cc3831bb655abb41 /contrib/libc++/src/thread.cpp | |
parent | 5bfa0fd12817c6fb8a546d52473156175cd9d2e5 (diff) | |
download | FreeBSD-src-6498e6ff373c949b402b936ee26e299074de318a.zip FreeBSD-src-6498e6ff373c949b402b936ee26e299074de318a.tar.gz |
MFC r307551:
Fix a double-free when an inp transitions to INP_TIMEWAIT state
after having been dropped.
This change enforces in_pcbdrop() logic in tcp_input():
"in_pcbdrop() is used by TCP to mark an inpcb as unused and avoid future packet
delivery or event notification when a socket remains open but TCP has closed."
PR: 203175
Reported by: Palle Girgensohn, Slawa Olhovchenkov
Tested by: Slawa Olhovchenkov
Reviewed by: Slawa Olhovchenkov
Approved by: gnn, Slawa Olhovchenkov
Differential Revision: https://reviews.freebsd.org/D8211
Sponsored by: Verisign, inc
Diffstat (limited to 'contrib/libc++/src/thread.cpp')
0 files changed, 0 insertions, 0 deletions