From nobody Sat Nov 02 16:03:07 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 4XgjF81JBbz5cGgr; Sat, 02 Nov 2024 16:03:08 +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 4XgjF80pMjz4LSy; Sat, 2 Nov 2024 16:03:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730563388; 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=a7G0w3Cl/UP3VyzpwL1by1k56WxhRZyKtWIs9Zmthi8=; b=xgB/AdJI/tg3kVBY3PdrCmhLpuJsriz+5qVe98LTUBtvEs7LI8FmKYYh28QCIsMGOqNbxY gac0zsOGSQENi8G/GbPlkq3uh8KlOMXPyfi70NiaNsuHHxvFD6VUtE6wNx43velU5L1IbI Qqh368X6PJbeAZi6r0/9wJ+qcVO3l0l5+CATYWIqrzKeVG1ptXnxtsJgeTq6OwZbFZjw/q ajO2b2IP8qRKiGFmfObnk752SFk4rl8huSS+yqZCyZ52WfIh9sp20oVHgxVMj34c0DwSDl N+H2Ef5f/PQi3ZrXB/kl3L6Jcy73sSDV27vGKIAOIYEcgG0tiX/UHkI0iIUBuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730563388; 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=a7G0w3Cl/UP3VyzpwL1by1k56WxhRZyKtWIs9Zmthi8=; b=pn7M2ixWdqfthU2qrtACOAeLUTDKReT9Vse/zX7u5wAsZxhwJJzpk49QPvrL2XXbsLJqcZ X2sgukRdah7EgDpxmB93kjfm/6oi6PWM+fCzP32DMYt8xA3Y5D4BhhgT0Ao6ex47v5+TIq fVZ2my3QY2kcPbmn0InBflQUOfZocyOXCCiEnSMrSUwfbxLxJ445ktuC+96qlNx7Qv0V/O bHVRBxsHf2kVNBXL5i/OaxntDb8zRt5iR+QLY5+A7wzqPk70tAmWdHK+DsKyoUSP7P+etN gIpmJX8cAOJHX01Y85MNZMaggoWFXww2CENGghl2q/QQ1zLoYJ2TJudRG8dBPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730563388; a=rsa-sha256; cv=none; b=niCuTLaV8H+rwfvW8RkPu/Kao5qyN+kn/VoW604v13YGBztUhgxmyGSk+nWivG4SPP4lXK SLPtkzNR2l/fiYnmEsgSOD0Wnbjj20wHke1WAPPvVueK79dUcPtImCTy+fjVydzunnITPs TQKxZB/NiQYoJqsS2AR76zYggD+sy8h6sXABiT4CIsEEN+ihK02iTtFEsrDzAqxFw91CTs IGpuLCraCBtI5OdwKmIUs1An+OEtvPZYJoUpLuVXyRgtYturDoWSYApLjus8md0aVQsWLl T42Bq1Kt/efD2VZOo2xVaCKETowUdV0lLDuXOdmcOufM4nlHekTr9VFTmv1Mpg== 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 4XgjF80GYRz1BBB; Sat, 2 Nov 2024 16:03:08 +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 4A2G37F7041887; Sat, 2 Nov 2024 16:03:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A2G37OZ041884; Sat, 2 Nov 2024 16:03:07 GMT (envelope-from git) Date: Sat, 2 Nov 2024 16:03:07 GMT Message-Id: <202411021603.4A2G37OZ041884@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Michael Tuexen Subject: git: d839cf2fbb47 - main - 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/main X-Git-Reftype: branch X-Git-Commit: d839cf2fbb47c52d5153fb366c51bd6f6a3dd0fd Auto-Submitted: auto-generated The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=d839cf2fbb47c52d5153fb366c51bd6f6a3dd0fd commit d839cf2fbb47c52d5153fb366c51bd6f6a3dd0fd Author: Michael Tuexen AuthorDate: 2024-11-02 15:00:59 +0000 Commit: Michael Tuexen CommitDate: 2024-11-02 15:02:52 +0000 sctp: editorial cleanup Improve consistency, no functional change intended. MFC after: 3 days --- 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 e2248adfdfb6..c37fe2eed88a 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();