mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Use the SCTP level pointer, not the interface level.
MFC after: 3 days
This commit is contained in:
parent
b38523dc0f
commit
64a3a6304e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295805
@ -5432,7 +5432,7 @@ sctp_select_primary_destination(struct sctp_tcb *stcb)
|
||||
|
||||
|
||||
/*
|
||||
* Delete the address from the endpoint local address list There is nothing
|
||||
* Delete the address from the endpoint local address list. There is nothing
|
||||
* to be done if we are bound to all addresses
|
||||
*/
|
||||
void
|
||||
@ -5483,8 +5483,7 @@ sctp_del_local_addr_ep(struct sctp_inpcb *inp, struct sctp_ifa *ifa)
|
||||
* to laddr
|
||||
*/
|
||||
TAILQ_FOREACH(net, &stcb->asoc.nets, sctp_next) {
|
||||
if (net->ro._s_addr &&
|
||||
(net->ro._s_addr->ifa == laddr->ifa)) {
|
||||
if (net->ro._s_addr == laddr->ifa) {
|
||||
/* Yep, purge src address selected */
|
||||
sctp_rtentry_t *rt;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user