commit | bfc5184b69cf9eeb286137640351c650c27f118a | [log] [tgz] |
---|---|---|
author | Michal Schmidt <mschmidt@redhat.com> | Mon Jun 02 18:25:02 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 02 11:16:11 2014 -0700 |
tree | 240aa292d873c16de66f380a9ab9c24a63b4201b | |
parent | c65c7a306610ee7c13669a8f5601b472c19dc6f1 [diff] |
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 <mschmidt@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>