Date: Fri, 11 Jun 2010 20:38:20 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet sctp_pcb.c sctp_usrreq.c sctputil.c Message-ID: <201006112038.o5BKcVTQ065210@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tuexen 2010-06-11 20:38:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet sctp_pcb.c sctp_usrreq.c sctputil.c Log: SVN rev 209067 on 2010-06-11 20:38:20Z by tuexen MFC 209029 3 Fixes - a) There was a case where a ICMP message could cause us to return leaving a stuck lock on an stcb. b) The iterator needed some tweaks to fix its lock ordering. c) The ITERATOR_LOCK is no longer needed in the freeing of a stcb. Now that the timer based one is gone we don't have a multiple resume situation. Add to that that there was somewhere a path out of the freeing of an assoc that did NOT release the iterator_lock.. it was time to clean this old code up and in the process fix the lock bug. Approved by: re (bz) Revision Changes Path 1.85.2.12 +11 -39 src/sys/netinet/sctp_pcb.c 1.67.2.11 +3 -0 src/sys/netinet/sctp_usrreq.c 1.93.2.16 +14 -4 src/sys/netinet/sctputil.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006112038.o5BKcVTQ065210>