From: Michal Schmidt Date: Mon, 2 Jun 2014 16:25:02 +0000 (+0200) Subject: netlink: rate-limit leftover bytes warning and print process name X-Git-Tag: omap-for-v3.16/fixes-against-rc1~107^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfc5184b69cf9eeb286137640351c650c27f118a;p=pandora-kernel.git netlink: rate-limit leftover bytes warning and print process name 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed