aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/netback.c
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 /drivers/net/xen-netback/netback.c
parentbna: Replace large udelay() with mdelay() (diff)
downloadlinux-dev-2818fa0fa068bcbc87d6bd9064e3c1f72d6fcc2a.tar.xz
linux-dev-2818fa0fa068bcbc87d6bd9064e3c1f72d6fcc2a.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 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions