MFC r345504:
Improve locking when tearing down an SCTP association. This is joint work with rrs@ and the issue was found by syzkaller.