diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2019-11-05 16:57:50 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-11-08 09:11:49 +0100 |
commit | 71e67c3bd127cfe7863f54e4b087eba1cc8f9a7a (patch) | |
tree | 830346f69fb289f63d48419adeba27866e5d2348 /include/media/tuner-types.h | |
parent | 6dd47d9754ff0589715054b11294771f2c9a16ac (diff) |
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 <johannes@sipsolutions.net>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20191105155750.547379-1-toke@redhat.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/media/tuner-types.h')
0 files changed, 0 insertions, 0 deletions