-
由 Jiri Kosina 提交于
Due to post-increment in condition of kmod_loop_msg in __request_module(), the system log can be spammed by much more than 5 instances of the 'runaway loop' message if the number of events triggering it makes the kmod_loop_msg to overflow. Fix that by making sure we never increment it past the threshold. Signed-off-by: NJiri Kosina <jkosina@suse.cz> Signed-off-by: NRusty Russell <rusty@rustcorp.com.au> CC: stable@kernel.org
37252db6