From: willy tarreau <wtarreau@yahoo.fr>
To: andrewm@uow.edu.au, alan@lxorguk.ukuu.org.uk
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] printk msglevel identification broken since 2.4.2ac13
Date: Sun, 18 Mar 2001 10:42:32 +0100 (CET) [thread overview]
Message-ID: <20010318094232.12088.qmail@web1105.mail.yahoo.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 734 bytes --]
Hi Andrew & Alan,
I noticed that in 2.4.2ac20, all netfilter logs come
to
the console, whatever the log levels, and the
beginning
of the line is always prepended with '<4>'.
I found in printk.c that a test is done for the length
of the message to be strictly larger than 3 chars. But
ipt_LOG uses 2 consecutive printk, one with only '<4>'
and one with the message. It may be possible that
other
drivers to the same. Looking back in patches show this
is present since 2.4.2ac13.
This trivial patch allows a 3-char message to set the
message level.
Cheers,
Willy
___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com
[-- Attachment #2: 2.4.2-ac20-printk-fix --]
[-- Type: application/x-unknown, Size: 467 bytes --]
reply other threads:[~2001-03-18 9:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20010318094232.12088.qmail@web1105.mail.yahoo.com \
--to=wtarreau@yahoo.fr \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andrewm@uow.edu.au \
--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®