git: inpcb: Use a special version of in_pcbinsporthash() on TCP accept path
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Mon Mar 24 06:29:02 PDT 2014
commit dc9229d49d50a0e1934f4e92efadf3ff19997f11
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Mon Mar 24 21:22:27 2014 +0800
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.
Summary of changes:
sys/netinet/in_pcb.c | 22 +++++++++++++++++-----
sys/netinet/in_pcb.h | 1 +
sys/netinet/tcp_syncache.c | 2 +-
3 files changed, 19 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dc9229d49d50a0e1934f4e92efadf3ff19997f11
--
DragonFly BSD source repository
More information about the Commits
mailing list