diff options
author | rrs <rrs@FreeBSD.org> | 2010-06-06 19:24:32 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2010-06-06 19:24:32 +0000 |
commit | 6bf375889db714097da8272c8ad55ea17dc466ae (patch) | |
tree | 58e7f19bab4f9e4af9f486fa1a747f48b15f5ffa /contrib/diff/lib/strcase.h | |
parent | 7efcd15461d6e9902d80b62ffc8b447ddd83ea08 (diff) | |
download | FreeBSD-src-6bf375889db714097da8272c8ad55ea17dc466ae.zip FreeBSD-src-6bf375889db714097da8272c8ad55ea17dc466ae.tar.gz |
Ok, yet another bug in killing off all the hundreds
of apitesters.. Basically we end up with attempting
to destroy a lock thats contended on. A cookie echo
arrives at the same time that the close is happening.
The close gets the lock but the cookie echo has already
passed the check for the gone flag and is then locked
waiting on the create lock.. when we go to destroy it
bam. For now we do the timer destroy for all calls
to close.. We can probably optimize this later so that
we check whats being contended on and if there is contention
then do the timer thing. but this is probably safest since
the inp has been removed from all lists and references and
only the timer can find it.. once the locks are released all
other places will instantly see the GONE flag and bail (thats
what the change in sctp_input is one place that was lacking
the bail code).
MFC after: 1 week
Diffstat (limited to 'contrib/diff/lib/strcase.h')
0 files changed, 0 insertions, 0 deletions