From nobody Mon Jun 9 23:48:05 2025 X-Original-To: dev-commits-src-main@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 4bGTBY3kv6z5yhFG; Mon, 09 Jun 2025 23:48:05 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bGTBY2dK8z3F5B; Mon, 09 Jun 2025 23:48:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749512885; 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=aCXO0d3g+IYUTW6uZhqfufOqRMR+V7JO2whwHdsravg=; b=LOKz8wJJXvjPxALvoeb/gYdoHSJKS0GSE1lkqWeyTSahaiMlfaBXh0HxsOLyIzd/wv4iOS S0x7fiA/+RV4SjpLKaKN9+RT6FXsbSqPrh8w6xg4PY23S2IJqaGFa1pJdkszeV/8PH0nzf c77l8109MLdw0kL7lZn7FmGV7iWNIBYjPieE05hBzr0wnLXtp/10W+53DbZ/mQqpYtNffO BN+FQzyI2VDPPmPbkYQwF2CYjyAIV7D6qOv8cNHrcimHMVsMyEmv30PmnNtKEXhFIiknfZ x114BLuJvo/WL6OZsY7aFWh7EUQVV8jFfR1kWPEf7F+uaYT3+pbdYWVA+1r5hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749512885; 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=aCXO0d3g+IYUTW6uZhqfufOqRMR+V7JO2whwHdsravg=; b=ZqK1mShIkSP4nzDn+IUZDksQo0p2bNGvzQY8x0PSgjqimO2tPOmidYnS9nTKqGq099AOqd YGYJCwTzZ/a8Lz5KERLBpikwMWeFKcb5fa86q02xlBoDGPRxsP4p48uriECSOeMV44PvZp 558ROaP8Xina68teir66d7Bqc0EOv7pspVv+nh9wQtCFgT8yzxv775cQgT84dvFx4Iiw9D nbanOBZ05deuzGMVuW0z9fymqIKkibgwuY1hc4P7PAOZVsqJAefgBKxkyIpg3mM9G1Fnyt Fc+a8Ft+NNOyz6uXltlH9oLvkcJFg6vyyReZccyYW/WzLKvxu+JA9WJp+Tw5Ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749512885; a=rsa-sha256; cv=none; b=slxH0iced0D+5sgMcZ9AzSNdh4lMtQMzXQe9+XY3A7p+WtWKIDlso+p5SMsmhYiRVum0d8 jgePKv7OXPOE2N2pFMvfdoW9YaRdPBfeafczwiw8ekoXkyn9PWLSe3+G2Dr6MsaPQYFvzU L+zONTZwNzdCGcnKQ8DH5NSn6ALThfkMLvaVvi+OWdW35yVJ4ag9JgcN8nkYpdCWYovea3 PNK7cxFXzO6e8rpw7+WpX7rp9DbcgVR6E1zPy5BzDhbtiAn9y2udZP2S23eSH0nKIX+MBf nxF6JrFznV/jmEHZ1ArOVnDTTEHT8I+St57o1fNicGOKq2RQXbI+/XtGSDW1Xw== 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 4bGTBY1xWCz2P4; Mon, 09 Jun 2025 23:48:05 +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 559Nm5mj088865; Mon, 9 Jun 2025 23:48:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 559Nm53k088861; Mon, 9 Jun 2025 23:48:05 GMT (envelope-from git) Date: Mon, 9 Jun 2025 23:48:05 GMT Message-Id: <202506092348.559Nm53k088861@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 4b17a918a9df - main - netinet/in_prot.c: normalize includes List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b17a918a9df1e11ab57de3cd38351e922086f53 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=4b17a918a9df1e11ab57de3cd38351e922086f53 commit 4b17a918a9df1e11ab57de3cd38351e922086f53 Author: Konstantin Belousov AuthorDate: 2025-06-07 13:54:50 +0000 Commit: Konstantin Belousov CommitDate: 2025-06-09 23:47:13 +0000 netinet/in_prot.c: normalize includes Remove sys/cdefs.h. Remote opt_inet*.h, they are not used. Order alphabetically. Update the herald comment. Reviewed by: markj Sponsored by: NVidia networking Differential revision: https://reviews.freebsd.org/D50653 --- sys/netinet/in_prot.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/sys/netinet/in_prot.c b/sys/netinet/in_prot.c index d81f24d6c040..69f0f3694096 100644 --- a/sys/netinet/in_prot.c +++ b/sys/netinet/in_prot.c @@ -26,22 +26,17 @@ */ /* - * System calls related to processes and protection + * Helpers related to visibility and protection of sockets and inpcb. */ -#include -#include "opt_inet.h" -#include "opt_inet6.h" - -#include #include +#include #include #include #include #include #include #include -#include #include #include