Ok, if the control->length is 0, it may be being added to WHILE we are reading. In such a case we must apply the lock first, before we decide to stuff things into the held_length area.. since we must syncronize what is happening on the read queue and have a correct picture of it.. i.e. the newly added thing is either adding to this one.. or its adding to the next one. If it is adding to the next one then no big deal we stuff the held lenght.. if its adding to this one.. we syncronize and see that BEFORE we proceed.
Ok, if the control->length is 0, it may be being added
to WHILE we are reading. In such a case we must
apply the lock first, before we decide to stuff
things into the held_length area.. since we must
syncronize what is happening on the read queue and
have a correct picture of it.. i.e. the newly added
thing is either adding to this one.. or its adding
to the next one. If it is adding to the next one then
no big deal we stuff the held lenght.. if its adding
to this one.. we syncronize and see that BEFORE we
proceed.

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