sctp: editorial cleanup

Improve consistency, no functional change intended.

(cherry picked from commit d839cf2fbb)
(cherry picked from commit 107704217b)

Approved by: 	re (cperviva)
This commit is contained in:
Michael Tuexen 2024-11-02 16:00:59 +01:00
parent ea310d18b2
commit 33197f22b5

View file

@ -312,7 +312,7 @@ sctp_mark_ifa_addr_down(uint32_t vrf_id, struct sockaddr *addr,
}
}
sctp_ifap->localifa_flags &= (~SCTP_ADDR_VALID);
sctp_ifap->localifa_flags &= ~SCTP_ADDR_VALID;
sctp_ifap->localifa_flags |= SCTP_ADDR_IFA_UNUSEABLE;
out:
SCTP_IPI_ADDR_RUNLOCK();
@ -354,7 +354,7 @@ sctp_mark_ifa_addr_up(uint32_t vrf_id, struct sockaddr *addr,
}
}
sctp_ifap->localifa_flags &= (~SCTP_ADDR_IFA_UNUSEABLE);
sctp_ifap->localifa_flags &= ~SCTP_ADDR_IFA_UNUSEABLE;
sctp_ifap->localifa_flags |= SCTP_ADDR_VALID;
out:
SCTP_IPI_ADDR_RUNLOCK();