Fix a bug I introduced in r209470.
MFC after: 3 days
This commit is contained in:
parent
bcec9ed0f1
commit
370d524f00
@ -1233,7 +1233,7 @@ sctp_findassociation_ep_addr(struct sctp_inpcb **inp_p, struct sockaddr *remote,
|
|||||||
SCTP_TCB_UNLOCK(stcb);
|
SCTP_TCB_UNLOCK(stcb);
|
||||||
goto null_return;
|
goto null_return;
|
||||||
}
|
}
|
||||||
if (!(local && sctp_does_stcb_own_this_addr(stcb, local))) {
|
if (local && !sctp_does_stcb_own_this_addr(stcb, local)) {
|
||||||
SCTP_TCB_UNLOCK(stcb);
|
SCTP_TCB_UNLOCK(stcb);
|
||||||
goto null_return;
|
goto null_return;
|
||||||
}
|
}
|
||||||
@ -1334,7 +1334,7 @@ sctp_findassociation_ep_addr(struct sctp_inpcb **inp_p, struct sockaddr *remote,
|
|||||||
SCTP_TCB_UNLOCK(stcb);
|
SCTP_TCB_UNLOCK(stcb);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!(local && sctp_does_stcb_own_this_addr(stcb, local))) {
|
if (local && !sctp_does_stcb_own_this_addr(stcb, local)) {
|
||||||
SCTP_TCB_UNLOCK(stcb);
|
SCTP_TCB_UNLOCK(stcb);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user