summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in_pcb.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2010-12-27 19:38:25 +0000
committerrwatson <rwatson@FreeBSD.org>2010-12-27 19:38:25 +0000
commit7d9fa04b1acb73718093971c279bd3dc314c6810 (patch)
tree769476fd42d8be0676d24b8ef574f7da451cd2eb /sys/netinet/in_pcb.c
parent081f34e7e942288fcb82cab6b34cd881c41b6a28 (diff)
downloadFreeBSD-src-7d9fa04b1acb73718093971c279bd3dc314c6810.zip
FreeBSD-src-7d9fa04b1acb73718093971c279bd3dc314c6810.tar.gz
Remove comment bemoaning the lack of an INP_INHASHLIST above in_pcbdrop();
I fixed this in r189657 in early 2009, so the comment is OBE. Reviewed by: bz MFC after: 3 days
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r--sys/netinet/in_pcb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index be85af4..d742887 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -1077,12 +1077,6 @@ in_pcbfree(struct inpcb *inp)
* maintaining the invariant that so_pcb always points to a valid inpcb until
* in_pcbdetach().
*
- * XXXRW: An inp_lport of 0 is used to indicate that the inpcb is not on hash
- * lists, but can lead to confusing netstat output, as open sockets with
- * closed TCP connections will no longer appear to have their bound port
- * number. An explicit flag would be better, as it would allow us to leave
- * the port number intact after the connection is dropped.
- *
* XXXRW: Possibly in_pcbdrop() should also prevent future notifications by
* in_pcbnotifyall() and in_pcbpurgeif0()?
*/
OpenPOWER on IntegriCloud