Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2024 17:57:56 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a890a3a5ddf3 - main - net80211: increase number of spares in struct ieee80211_vap
Message-ID:  <202402181757.41IHvuhP081600@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402181757.41IHvuhP081600>