From nobody Wed Dec 13 23:55:00 2023 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 4SrC5d0yrlz54VyW; Wed, 13 Dec 2023 23:55:01 +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 4SrC5c64lsz4FhR; Wed, 13 Dec 2023 23:55:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702511700; 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=SiEwWKp1mzCvteHOo4FiniV6vmqqnluCt9v9RMREXxk=; b=vRt/dosvfQqNdOiNWA2EHXfBUqQixyCrd+ZEcu0yMcD5DuMB4f5exHtWtUt7MlAb2rRmij cJPdOh7SPq6f6mKGbNs6Ss3fcZjRE/sNRpjk5lX/D4WSkSlEWz+lDQwcsHtMpQMHH8PlHI MVzm9rxmmUxjQPY+yNY3NP04OkwehBt35SY0UkWHC2ax4i5Y1SRD3KvGd+c0uMLBZEru+6 cxN9idKu5NuAUiEK09sf7YHsaLNIklz0CtG4VhkLVIxkh8Zwopiaw7bCEnCkeZQJ6UOA1d au88I2+lvt8WQZPIsDa0kohPWpV3lqmZNZbUL/ygAcrslZJTCdyl8hxFHyNtVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702511700; a=rsa-sha256; cv=none; b=ZgErKOxQnzoq5elHmVSzxjEFsbE7r0N4rcMOZh+Yf3Vgp4Kdp/dk1vL6oaouB5FR8r0B46 2Fl7EVXRfsXHGMrZLtVUIhHa38LczKVWFpHk/w+Wwm2pGEqgQmAc26A0o6OP+RDDS+MgVt 1AsdFCLl1DbVIG4EavA7secstwAydKcrr32AGXbYg6NCkJ4qavwp7yvED2V8Lf7Gp3G7QI g+KBrwu0XQ5TZlobojnzSPmRJAqpWscKL0JjlZDDP/DIArcS3Zv/ShpvCKn6ZlI4pSKl+Y t8akZ6y8BVjtLoGjLRvbS4Bc19T32s0UdPj8BCcirBXP5u7LKkZOQ6GH5g4x5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702511700; 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=SiEwWKp1mzCvteHOo4FiniV6vmqqnluCt9v9RMREXxk=; b=TMaCiGO8EQVQoyQcrMZc/b0NinS1bIFO2K166q+y1k2gaLzhkgE67jUKcVeSvGM8w0nFI7 NE/DOu0QKL0deqfCtZ1eBRJz9mDMGx6mOgVFkz1glez8PqCUSHT2cdTkiA1O67Cf3LeLYp DyjAguU3z6i4QX6UUILEnLSrwUQQcOv5Nlx4tCOQdx9Z6BRh0E8Bv5fQOvwlSUQ1+JgibD wTfUk8oBHqP6hzZZTYRPtbTRqJhS3ZHTOGLQiBnuYsKJV3wRws9rA8K3mrXs/kbFzyOHbF TEsuN+XegXigGhO1M3XaXTqec+WmULQ8v9J8FyprfQU6acSskbmhUA03DOGLVg== 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 4SrC5c579cz1JPH; Wed, 13 Dec 2023 23:55:00 +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 3BDNt05w075453; Wed, 13 Dec 2023 23:55:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BDNt0so075450; Wed, 13 Dec 2023 23:55:00 GMT (envelope-from git) Date: Wed, 13 Dec 2023 23:55:00 GMT Message-Id: <202312132355.3BDNt0so075450@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 59dba901f227 - main - bwn: remove unused ic_headroom 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 59dba901f227420647e4856f03cb782a3375c220 Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=59dba901f227420647e4856f03cb782a3375c220 commit 59dba901f227420647e4856f03cb782a3375c220 Author: Frank Hilgendorf AuthorDate: 2023-12-13 23:48:08 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-12-13 23:54:05 +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 MFC after: 3 days --- 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 501bcc1e958e..742ed63a92aa 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;