From nobody Thu Nov 07 09:47:17 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 4Xkcg94MCRz5cdYF; Thu, 07 Nov 2024 09:47:17 +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 4Xkcg93vSTz4HYb; Thu, 7 Nov 2024 09:47:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730972837; 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=FMcgeOFIPFRGi/YpjcaVPAQvtIdEQC1O9Ew34qEHueo=; b=b3h+ptKju/2NXHn9zAH1/iHvtcWGzvCjZrVCnUbXQ0MkluBjC/cWbCIdKbJ+2MuAHPvRfI ZHT6fAR21HYxlTUg2sHI+rXzP1fw6eS9lE27ztij8ZUlEwR7tHE8VNFy5J3P3AbxlhH87/ UchGqJHRQDPZzp+iugrIgHWFDTNsw72KP7zrETt8ypGfQ0FczjUe61bmgMwc3MmXJekbIe sQz5DVpsLYgejqCBurYJChJ4g9IbUwy5XEMcXX33dK+4u7yydyxGj4iu10fOd6AvMr/tX7 S+ATQSozzbu5R7MNFMRx5DelYlqzm6iAInJqSYY8r76PdKBJWzlinyATxN4/Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730972837; 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=FMcgeOFIPFRGi/YpjcaVPAQvtIdEQC1O9Ew34qEHueo=; b=kDTz7HfsBrpNsVDhQ7RaUt5WeJMnE1NNog+kxd0Sk4ylnu2LX2q/eGjTOC83QDBh6Q0GZ3 5K1Mtzg78RDTIR0/bwrgcls4deWNmFYNO+SUOMAfWyOL8fXwVpFD+Uftnf4WsUM2C9xX9S fF2EnkATHeKjEtCjTlkL1rp44o9FbKUuR4S3Tbem575MpuXHo6biVhS8TKxCaeiC6FmL/5 TdXnPPvlaSHGbq1tMVZ1UByG6/Zb8FRXdTeNJ/QfNb2CoFbauMqjKMzAAyS2QTt8CqJTTQ /Oyq/tsGOxLrKDW/u/+KCyN50oM59KcG7z8737b1zDBuV6AQkwfJMq68hlQJhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730972837; a=rsa-sha256; cv=none; b=G90k2L+EwpfuLvvD+Z05bP2J4M0Ip7aAjBSDyfrs90ig+XJjVoqDSIGm8iFPTE7nCsYd6x zYMDGwG2DhGoY+HtiTjGJ7iX4lr9sV1bPjoE8HlZDNdjg2ezuug7+XY9mPnf6yaC0u/1o4 aKtWgzhzALE1fW98FBqGt3NV2tYUNl7D69vmMd7oSZpBY8ptjYTngoIjG9ktk9gGsxT5DT sPHqYn64UL6QUlAtVhfwzmC5l5V0FMnfLIfuihKfFubDLjteklPlNX/BJu7jubpcPL1CcO 3a8VkuqQX/VnIXhRvNX0Oq0DigAdzmJQHkr5M7XxRVbDD3m+VGREmSPxiu3bEw== 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 4Xkcg93WDyzgtt; Thu, 7 Nov 2024 09:47:17 +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 4A79lHch010057; Thu, 7 Nov 2024 09:47:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A79lH9u010054; Thu, 7 Nov 2024 09:47:17 GMT (envelope-from git) Date: Thu, 7 Nov 2024 09:47:17 GMT Message-Id: <202411070947.4A79lH9u010054@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: 33197f22b5c5 - releng/14.2 - 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/releng/14.2 X-Git-Reftype: branch X-Git-Commit: 33197f22b5c5b220d7849993f56afa96fdd98b18 Auto-Submitted: auto-generated The branch releng/14.2 has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=33197f22b5c5b220d7849993f56afa96fdd98b18 commit 33197f22b5c5b220d7849993f56afa96fdd98b18 Author: Michael Tuexen AuthorDate: 2024-11-02 15:00:59 +0000 Commit: Michael Tuexen CommitDate: 2024-11-07 00:01:23 +0000 sctp: editorial cleanup Improve consistency, no functional change intended. (cherry picked from commit d839cf2fbb47c52d5153fb366c51bd6f6a3dd0fd) (cherry picked from commit 107704217b5733a2cae4e0fa1940f7ac66780f84) Approved by: re (cperviva) --- 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();