summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-12-12 03:42:53 +0400
committerDavid S. Miller <davem@davemloft.net>2011-12-13 04:08:54 +0400
commit3f1e6d3fd37bd4f25e5b19f1c7ca21850426c33f (patch)
tree4a4c3e784973d34e3689e3fc6789ae3503db576c /include
parent72b36015ba43a3cca5303f5534d2c3e1899eae29 (diff)
downloadlinux-3f1e6d3fd37bd4f25e5b19f1c7ca21850426c33f.tar.xz
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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions