diff options
author | Eric Dumazet <edumazet@google.com> | 2014-03-07 07:57:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-09 01:09:10 +0100 |
commit | 2d8d40afd187bced0a3d056366fb58d66fe845e3 (patch) | |
tree | c42c299205f38d9a6ab275d53de74583f56e2119 /net/8021q | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsh... (diff) | |
download | linux-2d8d40afd187bced0a3d056366fb58d66fe845e3.tar.xz linux-2d8d40afd187bced0a3d056366fb58d66fe845e3.zip |
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 'net/8021q')
0 files changed, 0 insertions, 0 deletions