/[base]
ViewVC logotype

Revision 307906


Jump to revision: Previous Next
Author: jch
Date: Tue Oct 25 12:58:36 2016 UTC (7 years, 8 months ago)
Changed paths: 3
Log Message:
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


Changed paths

Path Details
Directorystable/10/sys/netinet/tcp_input.c modified , text changed
Directorystable/10/sys/netinet/tcp_timewait.c modified , text changed
Directorystable/10/sys/netinet/tcp_usrreq.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27