From nobody Mon Feb 19 08:07:46 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 4TdZsH193Kz5B302; Mon, 19 Feb 2024 08:07:47 +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 4TdZsG6pFtz4KG4; Mon, 19 Feb 2024 08:07:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708330067; 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=H9MC1TIzJq9pOrensah1RoxpLk11FW6SWA0sdufjrLo=; b=WQfQtqyeBoiBdO1r+Pqp/Xj999oz+0h47vNwURLfdulJ9PMe859nxgTv20/OideIQuzoct S/GVEy8w36tBY4H0J6L78HAFZGyF3A4it001Kc52DOYVXF+huaQpYBozNVgkUzJ6JQw2oe WVpXM9aasOz9wg+Iw1S1munFd6amRqFgf1cDE2I5jSPWCt5z4ByG9lOIFL9GZAW+yPRl/i lLNLN0BUaBJHV4OP9qZWGPQifL03mnwuSs8vFDCChQfzwsT+0mlxLFfhoIZQtsbXkFN2zK iv+nE8f/4n4qKF+Ox1/NU/oTqFIAVJS4FBVnZY53BEvM8Am8s6Ot83uyAlfvLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708330067; 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=H9MC1TIzJq9pOrensah1RoxpLk11FW6SWA0sdufjrLo=; b=e3YECvUPvrt41bFrO2ubc6D4b88HZjehxI3Pzf8/OVjPQKrABucZ2EhSXNr6PtGfd1M5qX BKcho/6oS+XgHYsRm4LBRpK5Fo7y2c7jkh73rpUyaiwf57Ywk2X9FBm6yu+yjU9RraU6g+ ecqTxln595zMVuGktWeFT9hpZkpDGHNlSLZVNblYCRadsWJYdo7W7q14eQrdvCVwvRACMM r0UuBdoFqwOYpcW+jb9IKIHxuZV2pgymWd4DD0c2aalirBBem88c9YXHQErXR+aDT8Emqe 4s5ohDJ4U4St5sG24FWBTf0vQD2kBIbXc5BYBbiceGpaMcAZULM7H2XK7Tja7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708330067; a=rsa-sha256; cv=none; b=CMvfUuCZE6Otd+eNe7n5/uVAuJgZVxgHXrYSvs7ajGR7Bim/Hnu24UR1V96bIVdfLfJgwQ kStkyb5jjKjdT1pC5hJnu5b+MLZ/z3ix+GS7xhjkpWSp982EimrHZz2y/3CIt57lXeeUDG JWkiu87TyUAksOZjL5ZxiV2KG2X86woB2mV//OVbwe+xkVvmjPBTnnN2QYQ342do79DW9B 70H3kvRvNpYYZGas5exhvR+AELH1xKBVWzUbGSl4VnJUgMnX0b0dLVix9kfMnE9ZHxJcKG YR9sRI7SiBqbiG9t0i585TXq4a1QcTv1Qv5rp4XUeOh7gYodcRe6DKA0zrj89Q== 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 4TdZsG5vgVzR83; Mon, 19 Feb 2024 08:07:46 +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 41J87klj015716; Mon, 19 Feb 2024 08:07:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41J87kco015713; Mon, 19 Feb 2024 08:07:46 GMT (envelope-from git) Date: Mon, 19 Feb 2024 08:07:46 GMT Message-Id: <202402190807.41J87kco015713@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: 0f032804b6ec - stable/13 - bwn: remove unused ic_headroom 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 0f032804b6ec70c8f8ee4fe1ed83a3356946b5e8 Auto-Submitted: auto-generated The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=0f032804b6ec70c8f8ee4fe1ed83a3356946b5e8 commit 0f032804b6ec70c8f8ee4fe1ed83a3356946b5e8 Author: Frank Hilgendorf AuthorDate: 2023-12-13 23:48:08 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-02-19 08:01:59 +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 (cherry picked from commit 59dba901f227420647e4856f03cb782a3375c220) --- 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;