summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-03-06 22:57:52 -0800
committerDavid S. Miller <davem@davemloft.net>2014-03-10 16:17:52 -0400
commit2818fa0fa068bcbc87d6bd9064e3c1f72d6fcc2a (patch)
tree1b7adfd5d18587f90bca216b130c069bda53cf8b /crypto
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 <edumazet@google.com> Fixes: afe4fd062416 ("pkt_sched: fq: Fair Queue packet scheduler") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions