aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2014-03-06 22:57:52 -0800
committerDavid S. Miller <[email protected]>2014-03-08 19:09:10 -0500
commit2d8d40afd187bced0a3d056366fb58d66fe845e3 (patch)
treec42c299205f38d9a6ab275d53de74583f56e2119 /lib/dynamic_debug.c
parentd85ea93ffb7e8bb6855d60c0901e4b6571689085 (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/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions