diff options
author | Eric Dumazet | 2012-01-04 06:22:24 +0000 |
---|---|---|
committer | David S. Miller | 2012-01-04 14:12:48 -0500 |
commit | bd16a6cce2a7f169b559abc5672fd2c66e91fb36 (patch) | |
tree | a4407fbec170a8ed06bf52a6667d26c4fdd2a124 /drivers/target/iscsi | |
parent | 6cfb5e759d47f037cbd0953ec2c3ceb220ed9e96 (diff) |
net_sched: sfq: fix mem alloc error recovery
Since commit 817fb15dfd98 (net_sched: sfq: allow divisor to be a
parameter), we can leave perturbation timer armed if a memory allocation
error aborts sfq_init().
Memory containing active struct timer_list is freed and kernel can
crash.
Call sfq_destroy() from sfq_init() to properly dismantle qdisc.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/target/iscsi')
0 files changed, 0 insertions, 0 deletions