aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2022-10-11 23:04:14 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-10-23 18:08:42 +0200
commit18d6e021d4a7261f065efeb0ca0563533cb64081 (patch)
treee68f76979ecd9984f48f90022a9c233e07ac5605
parent42a95ce70a79289c8e104d18af46d04781c7073c (diff)
downloadbackports-18d6e021d4a7261f065efeb0ca0563533cb64081.tar.gz
backports: increase cfg80211 wiphy padding
The wiphy structure has grown over the 2048 bytes that we originally used in the wiphy padding, it's 2080 bytes long as of v5.11. Increase the padding to an arbitrary higher round number, 2304. We will end up using 2 pages now, so we could go as high as a page's length, but keep it lower so that when we grow over 2304 again we notice and can reasses the issue. Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
-rw-r--r--patches/0003-cfg80211-wext-padding/include_net_cfg80211.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/0003-cfg80211-wext-padding/include_net_cfg80211.patch b/patches/0003-cfg80211-wext-padding/include_net_cfg80211.patch
index a8040774..8f9b0985 100644
--- a/patches/0003-cfg80211-wext-padding/include_net_cfg80211.patch
+++ b/patches/0003-cfg80211-wext-padding/include_net_cfg80211.patch
@@ -4,7 +4,7 @@
/* assign these fields before you register the wiphy */
-+#define WIPHY_COMPAT_PAD_SIZE 2048
++#define WIPHY_COMPAT_PAD_SIZE 2304
+ u8 padding[WIPHY_COMPAT_PAD_SIZE];
+
u8 perm_addr[ETH_ALEN];