HomeFreeBSD

Clean up more resouces of an existing SCTP association in case of

Description

Clean up more resouces of an existing SCTP association in case of
a restart.

This fixes a use-after-free scenario, which was reported by Felix
Wilhelm from Google in case a peer is able to modify the cookie.
However, this can also be triggered by an assciation restart under
some specific conditions.

MFC after: 1 week

Details

Provenance
tuexenAuthored on
Parents
rS368592: Create a project branch to develop aio_writev and aio_readv
Branches
Unknown
Tags
Unknown