From nobody Wed Nov 06 10:10:37 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xk1DY72n7z5cP5Z; Wed, 06 Nov 2024 10:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xk1DY6VjPz4cLg; Wed, 6 Nov 2024 10:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730887837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I4/Z8vdXgoYKnLReBxzqeegX6QMuMc2Og8KdQ3qYaSk=; b=o4juUT5tPUhLeTGd2Y1I9tuYarBvCSY6R+Pu/b3q3iplU3Y52kXGbxayn0eDXX5keU+cOA ErRJKU84EdZUlCriotpwtBIrxixiiLXYqU2zLJRWJYQakXpE36bE/WY0PHTEp+j+FO9FC8 acNVYa5AaYJba3YtBdBbbo8PFhvopCnrPc5ENfYhojDVj5KWPPPEiwbnq+kPyhRndx/d5a LDwEjiaxWnyvUdjeOGoanRweqAO4Y4UXWRySrZ1d0AOEd4Nxa1g83tBru1gtROzXJt/ikL TejCf3oeSsBX0neK/7BozBHFwbpClLdOi/93DDkiGhBIEhRsZNTJNiNSrpyzrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730887837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I4/Z8vdXgoYKnLReBxzqeegX6QMuMc2Og8KdQ3qYaSk=; b=cOzUwp3zG87NTT+Nj9VdmSovOGHHYXq5aE4GE38Td1TWO2B2rjW+u81xCdXFHPMZc23sRT 5pfQsB8fsBSndNREjKissMY4mqdj0x/l54pzMZCOyqPlxU6rZDHi1lrL+ZO7BLzwongD3G zFWRpu4dUFiqP5F5nv4c76/NQ6nx35ATu4PMMIZ28MBPmwvVgHyVpwWuRhmglTCmYb6PvS WzUcYyEs1zoML3wD2xfuP4ag8UD9FY9XS0o9jlFFQSb/ztq+3+2I6B7XspcCWZ3fBNkaVp Dkgk3A24krACxxv9TBwMdF4yWB2lHXELvMbQbBWPOgUIg1A573PJrAavxdZ73Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730887837; a=rsa-sha256; cv=none; b=WELyAhf0TcgFnH4iOw77l1IJlMu51X8nwwKkTPlctCRe95DfxfkmLsgD2HoJjhHTIO4PfE wXf/XmKUSpWBGQsos3Qur4zIYXrGah/fh/M7bUp31PlhrVoXRwkQR4bU+lQD5njePztRog 5sCHQ4R9upyfvSZS/GW1iOkPix3CLMuULH+NUJo3jGyA+wHzyH8PWSQphg4iukdsZTyuY5 iLPxbHPeWMvFUroFpDiHy3SMe6fk3EB17nSfryZ1fdm2hbFdlVLcJqPDYJPS5Wcuuwwtpo 4fPLUn/O3TS0CNYhs2E3Es4QGCKCjNCjt7BolU5ujmDAoauMwQonQRZvTR4fkA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xk1DY66MLzwdt; Wed, 6 Nov 2024 10:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4A6AAbKY075152; Wed, 6 Nov 2024 10:10:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A6AAbd7075149; Wed, 6 Nov 2024 10:10:37 GMT (envelope-from git) Date: Wed, 6 Nov 2024 10:10:37 GMT Message-Id: <202411061010.4A6AAbd7075149@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Michael Tuexen Subject: git: 107704217b57 - stable/14 - sctp: editorial cleanup List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tuexen X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 107704217b5733a2cae4e0fa1940f7ac66780f84 Auto-Submitted: auto-generated The branch stable/14 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=107704217b5733a2cae4e0fa1940f7ac66780f84 commit 107704217b5733a2cae4e0fa1940f7ac66780f84 Author: Michael Tuexen AuthorDate: 2024-11-02 15:00:59 +0000 Commit: Michael Tuexen CommitDate: 2024-11-06 09:09:04 +0000 sctp: editorial cleanup Improve consistency, no functional change intended. (cherry picked from commit d839cf2fbb47c52d5153fb366c51bd6f6a3dd0fd) --- sys/netinet/sctp_pcb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c index 0030c5385390..b7b531ab33ab 100644 --- a/sys/netinet/sctp_pcb.c +++ b/sys/netinet/sctp_pcb.c @@ -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();