[Openswan dev] Small problem with printk's in ipsec_alc_aes.c

Rene Mayrhofer rmayr at debian.org
Sun Apr 3 22:40:02 CEST 2005

Hi all,

I noticed a small issue in ipsec_alg_aes.c when compiling KLIPS as a module, 
but AES support not (with CONFIG_KLIPS=m and CONFIG_KLIPS_ENC_AES=y): upon 
loading ipsec.o, it prints a few messages directly to the console. Since I am 
no kernel hacker, I can just guess a bit from the code that this is caused 
because not priority is set in the printk's in lines 176, 186, 196 and 206. 
At least putting KERN_DEBUG in front of the text shuts those messages up on 
the console and brings them to the debug log (where the should belong IMHO). 

There seems to be some additional printk's without any priority, because when 
loading ipsec.o and when unloading it, I get a line
localhost kernel:
directly at the console (might be one of the printk("\n") that I found by 
grepping). I have not yet located the exact line that produces these stray 

with best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/dev/attachments/20050403/90158f92/attachment.bin

More information about the Dev mailing list