git: a890a3a5ddf3 - main - net80211: increase number of spares in struct ieee80211_vap
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 18 Feb 2024 17:57:56 UTC
The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=a890a3a5ddf33acb0a4000885945b89156799b07 commit a890a3a5ddf33acb0a4000885945b89156799b07 Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2024-02-18 17:47:22 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2024-02-18 17:55:39 +0000 net80211: increase number of spares in struct ieee80211_vap Turns out MFCing 713db49d06deee90dd358b2e4b9ca05368a5eaf6 does not leave us with enough spares. Given wireless will likely see more changes in the near future add more spares. This is especially necessary given 'struct ieee80211_vap' gets allocated by drivers. Bumps size of struct ieee80211_vap to (7 * 512) on 64bit. --- sys/net80211/ieee80211_var.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index b69bb5f7ad87..4c9cdcbfccd9 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -611,7 +611,7 @@ struct ieee80211vap { struct ieee80211_rx_histogram *rx_histogram; struct ieee80211_tx_histogram *tx_histogram; - uint64_t iv_spare[6]; + uint64_t iv_spare[36]; }; MALLOC_DECLARE(M_80211_VAP);