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

(cherry picked from commit d6d38b02ee57920cc02a306a6d8d2aec9c4b759c)

Details

Provenance
kpAuthored on Oct 17 2023, 4:10 PM
Differential Revision
D42361: pf: fix missing SCTP multihomed states
Parents
rG66d84f1362f6: fflush: Add test for buffer handling in __sflush
Branches
Unknown
Tags
Unknown