aboutsummaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-03-06 22:57:52 -0800
committerMoyster <oysterized@gmail.com>2016-09-18 12:47:03 +0200
commit3f3c84791e94a602e11157160fe70d13df0bf70c (patch)
treeb630580d4ece1805b3ce5149558fdf1a3e3bf76b /include/linux/errqueue.h
parentd5aa8a74f0a044cf7a64f99f9b9351ebe92be475 (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 <edumazet@google.com> Fixes: afe4fd062416 ("pkt_sched: fq: Fair Queue packet scheduler") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions