Julien Charbon f5cf1e5f5a Fix a double-free when an inp transitions to INP_TIMEWAIT state
after having been dropped.

This fixes 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
MFC after:		1 week
Sponsored by:		Verisign, inc
2016-10-18 07:16:49 +00:00
..
2016-05-03 18:05:43 +00:00
2016-10-02 01:42:45 +00:00
2016-05-03 18:05:43 +00:00
2016-03-31 00:53:23 +00:00
2016-10-02 01:42:45 +00:00
2016-10-02 01:42:45 +00:00
2015-12-17 14:41:30 +00:00
2015-07-31 09:02:28 +00:00
2016-05-03 18:05:43 +00:00
2016-05-03 18:05:43 +00:00
2016-07-17 13:14:51 +00:00
2016-07-17 13:14:51 +00:00
2015-06-17 15:20:14 +00:00
2016-05-09 16:35:05 +00:00
2016-05-03 18:05:43 +00:00