inpcb: Use a special version of in_pcbinsporthash() on TCP accept path
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 24 Mar 2014 13:22:27 +0000 (21:22 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 24 Mar 2014 13:22:27 +0000 (21:22 +0800)
commitdc9229d49d50a0e1934f4e92efadf3ff19997f11
treed26da5a711884f0283a70871324da277f87588bd
parent2d0560ddba7cc177c662488e56435310492d9ca8
inpcb: Use a special version of in_pcbinsporthash() on TCP accept path

It holds the port token for in_pcbinsporthash().  Assert that the port
token is held in in_pcbinsport() now.
sys/netinet/in_pcb.c
sys/netinet/in_pcb.h
sys/netinet/tcp_syncache.c