When determining if an address belongs to an stcb, take the address family
into account for wildcard bound endpoints. MFC after: 3 days
This commit is contained in:
parent
e109131873
commit
63b4370996
@ -875,6 +875,9 @@ sctp_does_stcb_own_this_addr(struct sctp_tcb *stcb, struct sockaddr *to)
|
||||
*/
|
||||
continue;
|
||||
}
|
||||
if (sctp_ifa->address.sa.sa_family != to->sa_family) {
|
||||
continue;
|
||||
}
|
||||
switch (sctp_ifa->address.sa.sa_family) {
|
||||
#ifdef INET
|
||||
case AF_INET:
|
||||
|
Loading…
x
Reference in New Issue
Block a user