This does two changes: 1) Makes it so that the INVARIANT function validate nolocks is    available anywhere. 2) Fixes a BUG where a close has been done on a collision socket    and the cookie processing would return leaving a lock held.
This does two changes:
1) Makes it so that the INVARIANT function validate nolocks is
   available anywhere.
2) Fixes a BUG where a close has been done on a collision socket
   and the cookie processing would return leaving a lock held.

TopPano/sctp-refimpl,timsuchanek/sctp-refimpl,sctplab/sctp-refimpl,timsuchanek/sctp-refimpl,timsuchanek/sctp-refimpl,sdd330/sctp-refimpl,sdd330/sctp-refimpl,sdd330/sctp-refimpl,gale320/sctp-refimpl,TopPano/sctp-refimpl,sctplab/sctp-refimpl,gale320/sctp-refimpl,deepak899/sctp-refimpl,sctplab/sctp-refimpl,sdd330/sctp-refimpl,deepak899/sctp-refimpl,deepak899/sctp-refimpl,gale320/sctp-refimpl,xwhuang/sctp-refimpl,gale320/sctp-refimpl,xwhuang/sctp-refimpl,timsuchanek/sctp-refimpl,tosakanth/sctp-refimpl,TopPano/sctp-refimpl,TopPano/sctp-refimpl,TopPano/sctp-refimpl,sdd330/sctp-refimpl,TopPano/sctp-refimpl,gale320/sctp-refimpl,sdd330/sctp-refimpl,xwhuang/sctp-refimpl,TopPano/sctp-refimpl,tosakanth/sctp-refimpl,sctplab/sctp-refimpl,deepak899/sctp-refimpl,TopPano/sctp-refimpl,xwhuang/sctp-refimpl,tosakanth/sctp-refimpl,xwhuang/sctp-refimpl,timsuchanek/sctp-refimpl,tosakanth/sctp-refimpl,TopPano/sctp-refimpl,gale320/sctp-refimpl,deepak899/sctp-refimpl,gale320/sctp-refimpl,tosakanth/sctp-refimpl,gale320/sctp-refimpl,tosakanth/sctp-refimpl,gale320/sctp-refimpl,timsuchanek/sctp-refimpl,xwhuang/sctp-refimpl,sctplab/sctp-refimpl,timsuchanek/sctp-refimpl,sctplab/sctp-refimpl,timsuchanek/sctp-refimpl,sdd330/sctp-refimpl,tosakanth/sctp-refimpl,sdd330/sctp-refimpl,tosakanth/sctp-refimpl,sdd330/sctp-refimpl,tosakanth/sctp-refimpl,deepak899/sctp-refimpl,timsuchanek/sctp-refimpl