[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090105.181451.193271284.davem@davemloft.net>
Date: Mon, 05 Jan 2009 18:14:51 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jarkao2@...il.com
Cc: akpm@...ux-foundation.org, netdev@...r.kernel.org,
bugme-daemon@...zilla.kernel.org
Subject: Re: [PATCH] Re: [Bugme-new] [Bug 11571] New: u32_classify Kernel
Panic
From: Jarek Poplawski <jarkao2@...il.com>
Date: Mon, 5 Jan 2009 13:52:45 +0000
> pkt_sched: cls_u32: Fix locking in u32_change()
>
> New nodes are inserted in u32_change() under rtnl_lock() with wmb(),
> so without tcf_tree_lock() like in other classifiers (e.g. cls_fw).
> This isn't enough without rmb() on the read side, but on the other
> hand adding such barriers doesn't give any savings, so the lock is
> added instead.
>
> Reported-by: m0sia <m0sia@...tinka.ru>
> Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
Applied and queued up for -stable, thanks Jarek.
--
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