From nobody Wed Nov 06 12:32:11 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 4Xk4Mw0WGMz5cX9R; Wed, 06 Nov 2024 12:32:12 +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 4Xk4Mw00DNz3wm1; Wed, 6 Nov 2024 12:32:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730896332; 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=GyF1KGv20bn19ysUNOcYwEHOL0sc3eBaiyfBP7HH28k=; b=E2awCgO1BHI1TtknPJAM8jfED1FRezrJolwIoY1Uj72CTTEP3cve1ZojYZwsJYURQnDmBA P3ubWUDdvXvsoAc1+C2O2HW561ldf0Sjpf6rjuusWTzjses45bLtohsx74e+cZH7sTNCgS SJ3ie8H4u7vMf0ViLhm24+XFrbPdjxik9PEglzV6OrIg3vm9c9ViMaqwiwZHPaflfZPs4a OYcTmasUvO2Q0pVmKDQxISar5ttEDnR8Gw8aYOKgjh49+p/M9vrqLgriA89nas7e1dPJcI kleoeAxde+TR0e2R2iEcwzAUDJzy32Bs5XElAAJlYTwSD47upFbofwTlGxwqwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730896332; 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=GyF1KGv20bn19ysUNOcYwEHOL0sc3eBaiyfBP7HH28k=; b=h7m7hpJoaaXT4+9spTSFG2ukAnQyzzK/2CZjFnvu1pDLUmBw+KR//avoBKDQbRS/jDRcbb hmX6npJd6VZcCzPJsr9VmQ4WI8FcRXLCIg8oTojNRSXfFGuiE7nMqc8pRCHtLKwGHrSaJN CmXurb47wBFO5/GScHDlu0LL8zjpBD/QY08ucPQturRbSUmiNjnMZujGlcfAWbhTYrjMWG Syd9MZ+gqgoOadMglNJDx7AA+tT+S2Y8o/4fdVKCXpLHH1gQWX6iWIh+YxszMnOaXxNNE1 boqmbrKzliVAwupepB3jsy+UHKOUMG9IYECHJheSqFV0Y0Kyj8sIbOxl+Tsm9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730896332; a=rsa-sha256; cv=none; b=KQoqpfrYiPbtzcjtsJpCci/dWF3t41XqkRTu5v3cbvV8pOjo122tJ4CP4Sv+0kUNwXzFdg hxNKVn8s+8nn/SX5g8t6wgO/Cn01HKziSto7DgaBN2XGnSj/8kftVekF0MVgvt+lG0HWHm 61iEi5mS7NScMsjmNChB+wbKxyxY7QWk6cIFWKsXxGYwL8y5hTaEghORt8E7a6TniCOB8e jmCNxI+ewMF1hIcYr0HmD3QR2zgmw/m0nmnoZarZ6D7ghOagQdWRtXjwSnx9Iek72u6U/8 EEw1QUsyeEQDfBbMlHEPYkIt0U+60fbVObBWpCWmkD6zoJmJoDKXBmsarWn00w== 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 4Xk4Mv6jTZz10r0; Wed, 6 Nov 2024 12:32:11 +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 4A6CWBas042341; Wed, 6 Nov 2024 12:32:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A6CWBFu042338; Wed, 6 Nov 2024 12:32:11 GMT (envelope-from git) Date: Wed, 6 Nov 2024 12:32:11 GMT Message-Id: <202411061232.4A6CWBFu042338@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: 651772e2219d - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 651772e2219d0bfbf7d78e88db294b34c19aa675 Auto-Submitted: auto-generated The branch stable/13 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=651772e2219d0bfbf7d78e88db294b34c19aa675 commit 651772e2219d0bfbf7d78e88db294b34c19aa675 Author: Michael Tuexen AuthorDate: 2024-11-02 15:00:59 +0000 Commit: Michael Tuexen CommitDate: 2024-11-06 12:31:37 +0000 sctp: editorial cleanup Improve consistency, no functional change intended. MFC after: 3 days (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 39b7d58c8892..653edd066596 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();