HomeFreeBSD

sctp: improve handling of address changes

Description

sctp: improve handling of address changes

Identify interfaces consistenly by the pair of the ifn pointer
and the index.
This avoids a use after free when the ifn and or index was reused.

Reported by: bz, pho, and others

(cherry picked from commit 523913c94371ab50a8129cbab820394d25f7a269)

Details

Provenance
tuexenAuthored on Nov 3 2024, 9:20 AM
Parents
rG1550ba066216: sctp: garbage collect two unused functions
Branches
Unknown
Tags
Unknown