Change the cleanup in detach to use so, not inp->sctp_socket. I am not sure that this will fix one of the issues but it could not hurt. We keep nothing in the actual socket buffer, so when we detach, zeroing it is the key.
Change the cleanup in detach to use so, not inp->sctp_socket.
I am not sure that this will fix one of the issues
but it could not hurt. We keep nothing in the
actual socket buffer, so when we detach, zeroing it
is the key.

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