cvs commit: src/sys/netinet in_pcb.c in_pcb.h tcp_subr.c
Robert Watson
rwatson at FreeBSD.org
Tue Apr 25 11:17:37 UTC 2006
rwatson 2006-04-25 11:17:36 UTC
FreeBSD src repository
Modified files:
sys/netinet in_pcb.c in_pcb.h tcp_subr.c
Log:
Abstract inpcb drop logic, previously just setting of INP_DROPPED in TCP,
into in_pcbdrop(). Expand logic to detach the inpcb from its bound
address/port so that dropping a TCP connection releases the inpcb resource
reservation, which since the introduction of socket/pcb reference count
updates, has been persisting until the socket closed rather than being
released implicitly due to prior freeing of the inpcb on TCP drop.
MFC after: 3 months
Revision Changes Path
1.175 +28 -0 src/sys/netinet/in_pcb.c
1.88 +1 -0 src/sys/netinet/in_pcb.h
1.250 +2 -3 src/sys/netinet/tcp_subr.c
More information about the cvs-src
mailing list