Although it is a dead store here, always reassign the tcpcb after
authorbluhm <bluhm@openbsd.org>
Tue, 23 Jan 2018 21:06:47 +0000 (21:06 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 23 Jan 2018 21:06:47 +0000 (21:06 +0000)
commitdf55d3151dc9b7f967c800704352190e5b3fd325
tree67f14e56030cad7c2156ab65a570a4a945dd0b3e
parent5b4b4f44843050d177c9bc25fa664c114557c8f5
Although it is a dead store here, always reassign the tcpcb after
calling tcp_close(), tcp_drop(), and tcp_disconnect().  Then no
freed memory can be used after closing a TCP connection.
OK mikeb@ mpi@
sys/netinet/tcp_timer.c