HomeFreeBSD

pf: fix missing SCTP multihomed states

Description

pf: fix missing SCTP multihomed states

The existing code to create extra states when SCTP endpoints supplied
extra addresses missed a case. As a result we failed to generate all of
the required states.

Briefly, if host A has address 1 and 2 and host B has addres 3 and 4 we
generated 1 - 3 and 2 - 3, as well as 1 - 4, but not 2 - 4.

Store the list of endpoints supplied by each host and use those to
generate all of the connection permutations.

MFC after: 1 week
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D42361

Details

Provenance
kpAuthored on Oct 17 2023, 4:10 PM
Differential Revision
D42361: pf: fix missing SCTP multihomed states
Parents
rGa8bd34bfc0db: Giant: Postpone removal of Giant-locked drivers until 15
Branches
Unknown
Tags
Unknown