Restrict local addresses until they are acked by the peer.
MFC after: 1 week
This commit is contained in:
parent
f30e8c7e71
commit
76f8482a93
@ -5357,6 +5357,7 @@ void
|
||||
sctp_add_local_addr_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa, uint32_t action)
|
||||
{
|
||||
struct sctp_laddr *laddr;
|
||||
struct sctp_tcb *stcb;
|
||||
int fnd, error = 0;
|
||||
|
||||
fnd = 0;
|
||||
@ -5402,6 +5403,9 @@ sctp_add_local_addr_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa, uint32_t ac
|
||||
default:
|
||||
break;
|
||||
}
|
||||
LIST_FOREACH(stcb, &inp->sctp_asoc_list, sctp_tcblist) {
|
||||
sctp_add_local_addr_restricted(stcb, ifa);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user