From: James Morris <jmorris@intercode.com.au>
To: "David S. Miller" <davem@redhat.com>
Cc: alan@lxorguk.ukuu.org.uk, <davidel@xmailserver.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: Obsolete messages ...
Date: Fri, 28 Mar 2003 02:51:18 +1100 (EST) [thread overview]
Message-ID: <Mutt.LNX.4.44.0303280245110.29968-100000@blackbird.intercode.com.au> (raw)
In-Reply-To: <20030327.065911.29350824.davem@redhat.com>
On Thu, 27 Mar 2003, David S. Miller wrote:
> Now, I'll all for netratelimit()'ing the networking ones.
What about warning just once like the SOCK_PACKET one?
- James
--
James Morris
<jmorris@intercode.com.au>
--- linux-2.5.66.orig/net/core/sock.c Tue Mar 25 23:09:41 2003
+++ linux-2.5.66.w2/net/core/sock.c Fri Mar 28 02:47:31 2003
@@ -155,8 +155,13 @@
static void sock_warn_obsolete_bsdism(const char *name)
{
- printk(KERN_WARNING "process `%s' is using obsolete "
- "%s SO_BSDCOMPAT\n", current->comm, name);
+ static int warned;
+
+ if (!warned) {
+ warned = 1;
+ printk(KERN_WARNING "process `%s' is using obsolete "
+ "%s SO_BSDCOMPAT\n", current->comm, name);
+ }
}
/*
next prev parent reply other threads:[~2003-03-27 15:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-27 2:57 Davide Libenzi
2003-03-27 14:21 ` David S. Miller
2003-03-27 14:46 ` Alan Cox
2003-03-27 14:59 ` David S. Miller
2003-03-27 15:51 ` James Morris [this message]
2003-03-27 15:52 ` David S. Miller
2003-03-27 18:11 ` Davide Libenzi
2003-03-27 23:26 ` Dave Jones
2003-03-27 23:44 ` Davide Libenzi
2003-03-28 22:48 ` jjs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Mutt.LNX.4.44.0303280245110.29968-100000@blackbird.intercode.com.au \
--to=jmorris@intercode.com.au \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=davem@redhat.com \
--cc=davidel@xmailserver.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®