From: Eric Dumazet Date: Fri, 7 Mar 2014 06:57:52 +0000 (-0800) Subject: pkt_sched: fq: do not hold qdisc lock while allocating memory X-Git-Tag: v3.15-rc1~113^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d8d40afd187bced0a3d056366fb58d66fe845e3;p=pandora-kernel.git 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 Fixes: afe4fd062416 ("pkt_sched: fq: Fair Queue packet scheduler") Signed-off-by: David S. Miller --- Reading git-diff-tree failed