From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756456Ab3LaTAE (ORCPT ); Tue, 31 Dec 2013 14:00:04 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:35415 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755608Ab3LaTAC (ORCPT ); Tue, 31 Dec 2013 14:00:02 -0500 Date: Tue, 31 Dec 2013 14:00:00 -0500 (EST) Message-Id: <20131231.140000.463004971089550957.davem@davemloft.net> To: nhorman@tuxdriver.com Cc: linux-sctp@vger.kernel.org, vyasevich@gmail.com, gregkh@linuxfoundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/2] sctp: Consolidate and ratelimit deprecation warnings From: David Miller In-Reply-To: <1387805383-21500-1-git-send-email-nhorman@tuxdriver.com> References: <1387205049-22752-1-git-send-email-nhorman@tuxdriver.com> <1387805383-21500-1-git-send-email-nhorman@tuxdriver.com> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.1 (shards.monkeyblade.net [0.0.0.0]); Tue, 31 Dec 2013 11:00:01 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Neil Horman Date: Mon, 23 Dec 2013 08:29:41 -0500 > The SCTP protocol has several deprecation warnings in its setsockopt path that > can be triggered by unprivlidged users. Since these are not ratelimited, we can > spam the logs quite easily here. Since these are all deprecation warnings, and > that type of warning isn't uncommon in the rest of the kernel, lets make a > common pr_warn_deprecated macro to produce somewhat generalized ratelimited > deprecation warnings easily > > Signed-off-by: Neil Horman Series applied, thanks Neil. Please consider Ben's suggestion to provide the offending command string in the log output.