kmsg - properly print over-long continuation lines
authorKay Sievers <kay@vrfy.org>
Tue, 17 Jul 2012 01:35:29 +0000 (18:35 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 01:35:29 +0000 (18:35 -0700)
commit70498253186586e5dca7bc3ebd3415203b059fbc
tree7039fd24627aff100b3fc5ddf97e9b27dae9b8b5
parent28a78e46f04ac5c4952533f2938a18699f207004
kmsg - properly print over-long continuation lines

Reserve PREFIX_MAX bytes in the LOG_LINE_MAX line when buffering a
continuation line, to be able to properly prefix the LOG_LINE_MAX
line with the syslog prefix and timestamp when printing it.

Reported-By: Dave Jones <davej@redhat.com>
Signed-off-by: Kay Sievers <kay@vrfy.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/printk.c