aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2014-03-06 22:57:52 -0800
committerDavid S. Miller <[email protected]>2014-03-10 16:17:52 -0400
commit2818fa0fa068bcbc87d6bd9064e3c1f72d6fcc2a (patch)
tree1b7adfd5d18587f90bca216b130c069bda53cf8b /lib/cpu-notifier-error-inject.c
parentbc48bc806442114ea44f61d6b18e02c2bd6236fd (diff)
pkt_sched: fq: do not hold qdisc lock while allocating memory
Resizing fq hash table allocates memory while holding qdisc spinlock, with BH disabled. This is definitely not good, as allocation might sleep. We can drop the lock and get it when needed, we hold RTNL so no other changes can happen at the same time. Signed-off-by: Eric Dumazet <[email protected]> Fixes: afe4fd062416 ("pkt_sched: fq: Fair Queue packet scheduler") Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions