From: Eric Dumazet Date: Sun, 11 Dec 2011 23:42:53 +0000 (+0000) Subject: sch_gred: should not use GFP_KERNEL while holding a spinlock X-Git-Tag: v3.2-rc6~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f1e6d3fd37bd4f25e5b19f1c7ca21850426c33f;p=pandora-kernel.git sch_gred: should not use GFP_KERNEL while holding a spinlock gred_change_vq() is called under sch_tree_lock(sch). This means a spinlock is held, and we are not allowed to sleep in this context. We might pre-allocate memory using GFP_KERNEL before taking spinlock, but this is not suitable for stable material. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed