[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080917220811.GA10893@ami.dom.local>
Date: Thu, 18 Sep 2008 00:08:11 +0200
From: Jarek Poplawski <jarkao2@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: netdev@...r.kernel.org, bugme-daemon@...zilla.kernel.org,
m0sia@...tinka.ru
Subject: Re: [Bugme-new] [Bug 11571] New: u32_classify Kernel Panic
On Wed, Sep 17, 2008 at 09:38:32PM +0200, Jarek Poplawski wrote:
...
> >> http://bugzilla.kernel.org/show_bug.cgi?id=11571
> Does this happen while creating or deleting something and is this
> easy to reproduce?
If accidentally there is any deleting around try this patch, please.
Jarek P.
---
net/sched/cls_u32.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c
index 246f906..9912ad5 100644
--- a/net/sched/cls_u32.c
+++ b/net/sched/cls_u32.c
@@ -433,7 +433,9 @@ static int u32_delete(struct tcf_proto *tp, unsigned long arg)
if (ht->refcnt == 1) {
ht->refcnt--;
+ tcf_tree_lock(tp);
u32_destroy_hnode(tp, ht);
+ tcf_tree_unlock(tp);
} else {
return -EBUSY;
}
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists