https://github.com/torvalds/linux
Revision bfc5184b69cf9eeb286137640351c650c27f118a authored by Michal Schmidt on 02 June 2014, 16:25:02 UTC, committed by David S. Miller on 02 June 2014, 18:16:11 UTC
Any process is able to send netlink messages with leftover bytes.
Make the warning rate-limited to prevent too much log spam.

The warning is supposed to help find userspace bugs, so print the
triggering command name to implicate the buggy program.

[v2: Use pr_warn_ratelimited instead of printk_ratelimited.]

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c65c7a3
History
Tip revision: bfc5184b69cf9eeb286137640351c650c27f118a authored by Michal Schmidt on 02 June 2014, 16:25:02 UTC
netlink: rate-limit leftover bytes warning and print process name
Tip revision: bfc5184
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 271.8 KB
Makefile -rw-r--r-- 50.5 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top