From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADB07ECAAD4 for ; Thu, 1 Sep 2022 02:55:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232210AbiIACzk (ORCPT ); Wed, 31 Aug 2022 22:55:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229781AbiIACzi (ORCPT ); Wed, 31 Aug 2022 22:55:38 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3EDC252B7 for ; Wed, 31 Aug 2022 19:55:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 407EA61DB1 for ; Thu, 1 Sep 2022 02:55:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 497A6C433D6; Thu, 1 Sep 2022 02:55:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662000936; bh=RGUe3QhcmaFB5Dl/4wPND6/kcP7XG+BPivGdaG7z92Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sk4z5PNuO0CWfleKxrWfDW6OTmYSWgA5v67D5/H+V/BWxykd+LnCFS66vUAqndfgr ymiSRDv8CAq1iQ5Agrgdrm1P/vLRXS8KLWowjGbB6s/jVeGXkq4M1EANd3+AQ0j2sz AWqLhJ19CuhHndcYJESbH52BhUOq9H7Q4GJpCkKTejfC0A9pcpD1gz1I+0ftKKREcT d0JRub52ygu3r6UbN3dosXCgd5ejnlWgtn5dGrh7ws46enQBLR/SgZ6B/84oU/vw4Y USyOb4h11C0jdTOuECftcPW3rkuIXo5mx5CjFqMa5gHFFEZ+LbB3hiXju3ewap0N06 DquZIgEcr0hNA== Date: Wed, 31 Aug 2022 19:55:35 -0700 From: Jakub Kicinski To: Kurt Kanzenbach Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , Andrew Lunn , Vivien Didelot , Florian Fainelli , Vladimir Oltean , netdev@vger.kernel.org Subject: Re: [PATCH net-next] net: dsa: hellcreek: Print warning only once Message-ID: <20220831195535.39d1bf0b@kernel.org> In-Reply-To: <20220830163448.8921-1-kurt@linutronix.de> References: <20220830163448.8921-1-kurt@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 30 Aug 2022 18:34:48 +0200 Kurt Kanzenbach wrote: > In case the source port cannot be decoded, print the warning only once. This > still brings attention to the user and does not spam the logs at the same time. > > Signed-off-by: Kurt Kanzenbach The ongoing convo is tangential AFAIU, so applying. Applying to net, 'cause printing warnings based on packet contents without a rate limit is a bad idea.