aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_xarray.c
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <[email protected]>2019-11-05 15:57:50 +0000
committerJohannes Berg <[email protected]>2019-11-08 08:11:49 +0000
commit71e67c3bd127cfe7863f54e4b087eba1cc8f9a7a (patch)
tree830346f69fb289f63d48419adeba27866e5d2348 /lib/test_xarray.c
parentmac80211: fix ieee80211_txq_setup_flows() failure path (diff)
downloadkernel-71e67c3bd127cfe7863f54e4b087eba1cc8f9a7a.tar.gz
kernel-71e67c3bd127cfe7863f54e4b087eba1cc8f9a7a.zip
net/fq_impl: Switch to kvmalloc() for memory allocation
The FQ implementation used by mac80211 allocates memory using kmalloc(), which can fail; and Johannes reported that this actually happens in practice. To avoid this, switch the allocation to kvmalloc() instead; this also brings fq_impl in line with all the FQ qdiscs. Fixes: 557fc4a09803 ("fq: add fair queuing framework") Reported-by: Johannes Berg <[email protected]> Signed-off-by: Toke Høiland-Jørgensen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions