wifi: mac80211: use kvcalloc() for codel vars
authorJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 14:05:03 +0000 (15:05 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 14:40:03 +0000 (15:40 +0100)
commitf40db02e8fa357196d57e002cc1e74abe8b8009d
tree2feb3c1dd1db83bed33a8c38205affa13e43c808
parent96833fb3c7abfd57bb3ee2de2534c5a3f52b0838
wifi: mac80211: use kvcalloc() for codel vars

This is a big array, but it's only used by software and
need not be contiguous in memory. Use kvcalloc() since
it's so big (order 5 allocation).

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240325150509.9195643699e4.I1b94b17abc809491080d6312f31ce6b5decdd446@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c