* [PATCH] printk msglevel identification broken since 2.4.2ac13
@ 2001-03-18 9:42 willy tarreau
0 siblings, 0 replies; only message in thread
From: willy tarreau @ 2001-03-18 9:42 UTC (permalink / raw)
To: andrewm, alan; +Cc: linux-kernel
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-03-18 9:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-18 9:42 [PATCH] printk msglevel identification broken since 2.4.2ac13 willy tarreau
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®