Date: Fri, 11 Jun 2010 03:54:00 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet sctp_pcb.c sctp_usrreq.c sctputil.c Message-ID: <201006110354.o5B3sKCS027156@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rrs 2010-06-11 03:54:00 UTC FreeBSD src repository Modified files: sys/netinet sctp_pcb.c sctp_usrreq.c sctputil.c Log: SVN rev 209029 on 2010-06-11 03:54:00Z by rrs 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. MFC after: 1 week Revision Changes Path 1.110 +11 -39 src/sys/netinet/sctp_pcb.c 1.77 +3 -0 src/sys/netinet/sctp_usrreq.c 1.112 +14 -4 src/sys/netinet/sctputil.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006110354.o5B3sKCS027156>