]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bwn: remove unused ic_headroom
authorFrank Hilgendorf <frank.hilgendorf@posteo.de>
Wed, 13 Dec 2023 23:48:08 +0000 (23:48 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 19 Feb 2024 16:05:54 +0000 (16:05 +0000)
commitdc50f981e17c39a486616315d142785a20f87612
tree8bc34e3ef047566d869a345934a8785469080cf6
parent75316a59b39ee83ed8b0e98597abb7baeea6a788
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