aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25/x25_dev.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-12-15 22:09:45 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-16 15:40:33 -0500
commit869aa41044b04964e27822124b88f799e46f01b9 (patch)
tree740c289a40c1ffc9ec23d9369cdb9389b1edb8ca /net/x25/x25_dev.c
parentnet: fix compilation with !CONFIG_NET (diff)
downloadlinux-dev-869aa41044b04964e27822124b88f799e46f01b9.tar.xz
linux-dev-869aa41044b04964e27822124b88f799e46f01b9.zip
sch_gred: prefer GFP_KERNEL allocations
In control path, its better to use GFP_KERNEL allocations where possible. Before taking qdisc spinlock, we preallocate memory just in case we'll need it in gred_change_vq() This is a followup to commit 3f1e6d3fd37b (sch_gred: should not use GFP_KERNEL while holding a spinlock) Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25/x25_dev.c')
0 files changed, 0 insertions, 0 deletions