From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756646Ab2JEQDu (ORCPT ); Fri, 5 Oct 2012 12:03:50 -0400 Received: from mail.x86-64.org ([217.9.48.20]:48635 "EHLO mail.x86-64.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752782Ab2JEQDs (ORCPT ); Fri, 5 Oct 2012 12:03:48 -0400 Date: Fri, 5 Oct 2012 18:03:36 +0200 From: Borislav Petkov To: Markus Trippelsdorf Cc: Greg Kroah-Hartman , Jiri Slaby , Alan Cox , LKML , Joe Perches Subject: Re: [PATCH] Fix bogus "callbacks suppressed" messages Message-ID: <20121005160336.GH24764@aftab.osrc.amd.com> References: <20121004124025.GC21028@aftab.osrc.amd.com> <20121004131101.GA245@x4> <506EC1AE.6000201@suse.cz> <20121005122741.GB8019@aftab.osrc.amd.com> <20121005125717.GB245@x4> <20121005142639.GA20065@kroah.com> <20121005152948.GC24764@aftab.osrc.amd.com> <20121005153706.GA13571@kroah.com> <20121005154312.GF24764@aftab.osrc.amd.com> <20121005154847.GB246@x4> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121005154847.GB246@x4> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 05, 2012 at 05:48:47PM +0200, Markus Trippelsdorf wrote: > On 2012.10.05 at 17:43 +0200, Borislav Petkov wrote: > > On Fri, Oct 05, 2012 at 08:37:06AM -0700, Greg Kroah-Hartman wrote: > > > So WARN_RATELIMIT was never working properly? If so, how far back does > > > it go in kernel releases that this should be fixed? > > > > Since b3eec79b0776e which added it in May 2011. But the only one othe r > > user is net/core/filter.c. > > But it doesn't matter, because the WARN_RATELIMIT in net/core/filter.c > is guarded by a switch statement and uses WARN_RATELIMIT(1,...). So it > could never trigger the bug. Yes, but you should say "it covers the bug with a brown paper bag because the condition is always true." :-) -- Regards/Gruss, Boris. Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach GM: Alberto Bozzo Reg: Dornach, Landkreis Muenchen HRB Nr. 43632 WEEE Registernr: 129 19551