Date: Sun, 6 Jun 2010 16:11:16 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet sctp_input.c Message-ID: <201006061611.o56GBYPN096364@repoman.freebsd.org>
index | next in thread | raw e-mail
rrs 2010-06-06 16:11:16 UTC
FreeBSD src repository
Modified files:
sys/netinet sctp_input.c
Log:
SVN rev 208876 on 2010-06-06 16:11:16Z by rrs
1) Further enhance the INVARIANT lock validation (no locks) are
held by checking the create and inp locks as well.
2) Fix a bug in that when a socket is closed an INIT-ACK
is returned, we do NOT unlock the locked_tcb unless its
different (an unlikely scenario). If we blindly unlock as
we were doing before we can end up unlocking the actual
stcb thats about to be sent down to the free function which
requires the lock be held.
MFC after: 1 week
Revision Changes Path
1.93 +8 -1 src/sys/netinet/sctp_input.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006061611.o56GBYPN096364>
