Experiment. Try to have less locks on the socketbuffer.
Experiment. Try to have less locks on the socketbuffer.

When I remove the control entry, if there is another
one behind this one, no need to lock since we always
append to the tail.

If the MSG_EOR is set on an control entry I don't
need to lock either since no one is adding to
it anymore.

However we still lock on the way in to the
socket buffer. This means that we have a lock
contention there. Now we might get by without
doing that lock too.. aka do a first look, if
there IS data to read and we can get the first
control.. jump right into the read with no locks??

That will be the next thing to try if this works :-)

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