aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorAlexander Sverdlin <[email protected]>2011-09-21 07:51:40 +0000
committerLinus Torvalds <[email protected]>2011-09-21 20:18:52 +0000
commit808bf29b9195c52239b9aaeda7c6082a0ddf07c6 (patch)
treeeabb672d84cf00b13225b44fdf2482b6900b5a14 /net/ipv6/tcp_ipv6.c
parentteach /proc/$pid/numa_maps about transparent hugepages (diff)
downloadkernel-808bf29b9195c52239b9aaeda7c6082a0ddf07c6.tar.gz
kernel-808bf29b9195c52239b9aaeda7c6082a0ddf07c6.zip
init: carefully handle loglevel option on kernel cmdline.
When a malformed loglevel value (for example "${abc}") is passed on the kernel cmdline, the loglevel itself is being set to 0. That then suppresses all following messages, including all the errors and crashes caused by other malformed cmdline options. This could make debugging process quite tricky. This patch leaves the previous value of loglevel if the new value is incorrect and reports an error code in this case. Signed-off-by: Alexander Sverdlin <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions