cifs: Ratelimit kernel log messages

[ Upstream commit ec7147a99e ]

Under some conditions, CIFS can repeatedly call the cifs_dbg() logging
wrapper. If done rapidly enough, the console framebuffer can softlockup
or "rcu_sched self-detected stall". Apply the built-in log ratelimiters
to prevent such hangs.

Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Jamie Bainbridge 2015-11-07 22:13:49 +10:00 • committed by Sasha Levin
commit ca7342a8a3
2 changed files with 5 additions and 6 deletions