From 1cd6eadfbbb412cb6fa631e1990aae5fe7ddee0c Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Fri, 4 May 2007 17:45:52 +0000 Subject: Tweak comment at end of tcp_input() when calling into tcp_do_segment(): the pcbinfo lock will be released as well, not just the pcb lock. --- sys/netinet/tcp_input.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/netinet/tcp_input.c') diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index ffb068b56180..9a3086959417 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -985,9 +985,9 @@ findpcb: } /* - * Segment belongs to a connection in SYN_SENT, ESTABLISHED or - * later state. tcp_do_segment() always consumes the mbuf chain - * and unlocks the inpcb. + * Segment belongs to a connection in SYN_SENT, ESTABLISHED or late + * state. tcp_do_segment() always consumes the mbuf chain, unlocks the + * inpcb, and unlocks the pcbinfo. */ if (tcp_do_segment(m, th, so, tp, drop_hdrlen, tlen)) goto findpcb; /* XXX: TIME_WAIT was nuked. */ -- cgit v1.2.3