From nobody Mon Feb 19 16:10:14 2024 X-Original-To: dev-commits-src-branches@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 4TdnYz0Vzbz5C5Df; Mon, 19 Feb 2024 16:10:15 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TdnYy4XzNz4NjG; Mon, 19 Feb 2024 16:10:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708359014; 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=83xzlp+JSaV3Qo7jx1NRW5+vdjnMPDRQXcX6JJN1/wg=; b=G9EnK9cTwu0VhicRXUF5cdAwF8Rcmzg9YNbAwpDnSzdJnpO0/sIcP5L8SCO/9EzWGSlyyA xWGd14MH6qh9USrtnUqjOvs6sDFzNHpx0fw3UYCUIUhVH269QphKSw2vQ4/dzsXWtppN+A Ab38vpFnHbPCG8xNNxmUcUEPsNS3Fjmsgki9lbRiKHzb2d+X5LutBPF4/yFUazrnH4d70r T8fNLgHULKwDc4HHO55hgMlh4yNWFzTdzXNIS+Hycujp0gig3iBu7fAiipLuW7vRTdslIQ Kx1HyIQrTWyT1kCoQgGClCk7F3ObQjrl4y9A20E/GrOJUS0r63x4bOr5IzdWng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708359014; 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=83xzlp+JSaV3Qo7jx1NRW5+vdjnMPDRQXcX6JJN1/wg=; b=JZjdtMkuFWhwFBugz4ylVzoY9yT9s1WqwZ8aaa18tQbNJQhqqtaN/xB78GYh6G89gaHTu0 o7y3JaQ+d8ftPYMv0z8J3QEbWoSBm0xwXgNZySkj4R8X7JPlgItLZBf7WEg9O62ixvjjQd vmUxRsgQeJMyJdapTnr4QGUvLDPfqmXa8Y2MZJLcez2YjuKmtRchdDBldHSh7aecQLG0Qu e1h4biil4NRYqA3teoWvCBCZieKctniFaO1KIPeJ0luktYnfzvX/5tbX2IEzDgXKGb4fW4 mxtlRr5VZr7pFVthgh5A7IokyOtS7+ogD6ED98fQ+juTExDELWfscU8JertppQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708359014; a=rsa-sha256; cv=none; b=khEww7pIWBbJRXAnARKzYs44c+k78F4xcR2lH6FUJlilG2VWdCHOtsA2gEITNOcE0CBWd9 zJi56k+VLRhPd8yvdTbsWptTfZDmSLsz5hXuWCQjeBYSoosurknXSpaeEMpc3s1CgMW5Gu 4i9SxAMyc4DYX+1NbHxmc0BZvinxqcd9fx6nnySZSN/p1VrcNuMK+SQrZVMxLk14FACcUO fDdwAuO8FJVPoYSmjclqBWHN2dOnPg0dGnFViAtE/9em2g+C+81W+AlYiGSv6JJodqGgVM k2+iGMi30O7JJLNNbGADE6TdBYfvVzVU20xmKQ+RE0GaMsWlYTQ1qLKPsg5HZw== 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 4TdnYy3cNgzhRy; Mon, 19 Feb 2024 16:10:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41JGAEOZ033539; Mon, 19 Feb 2024 16:10:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41JGAEBv033527; Mon, 19 Feb 2024 16:10:14 GMT (envelope-from git) Date: Mon, 19 Feb 2024 16:10:14 GMT Message-Id: <202402191610.41JGAEBv033527@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: dc50f981e17c - releng/13.3 - bwn: remove unused ic_headroom List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/releng/13.3 X-Git-Reftype: branch X-Git-Commit: dc50f981e17c39a486616315d142785a20f87612 Auto-Submitted: auto-generated The branch releng/13.3 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=dc50f981e17c39a486616315d142785a20f87612 commit dc50f981e17c39a486616315d142785a20f87612 Author: Frank Hilgendorf AuthorDate: 2023-12-13 23:48:08 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-19 16:05:54 +0000 bwn: remove unused ic_headroom Unlike bwi(4), bwn(4) does not rely on ic_headroom (despite having it set) but splits the bwn_txhdr (first) segment into its own transaction. Remove ic_headroom to avoid net80211 troubles with not enough space in the mbuf around ieee80211_mbuf_adjust(). PR: 275616 Approved by: re (cperciva) (cherry picked from commit 59dba901f227420647e4856f03cb782a3375c220) (cherry picked from commit 0f032804b6ec70c8f8ee4fe1ed83a3356946b5e8) --- sys/dev/bwn/if_bwn.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index e104f359ee42..b90dc2dbeab7 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -808,8 +808,6 @@ bwn_attach_post(struct bwn_softc *sc) /* call MI attach routine. */ ieee80211_ifattach(ic); - ic->ic_headroom = sizeof(struct bwn_txhdr); - /* override default methods */ ic->ic_raw_xmit = bwn_raw_xmit; ic->ic_updateslot = bwn_updateslot;