a re-arrange of when we set the end flags vs when we make the pointer link.
a re-arrange of when we set the end flags vs when
we make the pointer link.

Also added panic if we hit case where there is
no data and end is added.

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