Michal Schmidt
7343f01045
netlink: rate-limit leftover bytes warning and print process name
...
[ Upstream commit bfc5184b69 ]
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 >
[bwh: Add #include of <linux/sched.h> for definition of struct task_struct,
as in 3.2 it doesn't get included indirectly on all architectures. Thanks
to Guenter Roeck for debugging this.]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk >
2014-07-11 13:33:57 +01:00
..
2014-07-11 13:33:54 +01:00
2011-10-31 19:31:19 -04:00
2011-09-21 13:39:59 -07:00
2011-03-22 17:44:17 -07:00
2011-07-26 16:49:47 -07:00
2011-09-14 13:14:11 +02:00
2011-05-04 14:41:28 -04:00
2010-12-06 15:58:43 -05:00
2011-03-11 14:25:50 +00:00
2011-10-31 17:30:56 -07:00
2011-05-19 16:55:27 +09:30
2012-06-10 14:42:10 +01:00
2011-07-07 04:52:24 -07:00
2011-06-03 15:01:07 -04:00
2011-01-24 14:51:56 -08:00
2011-07-26 16:49:44 -07:00
2011-06-03 15:01:06 -04:00
2011-07-26 16:49:47 -07:00
2011-06-20 14:38:43 +02:00
2011-07-26 16:49:47 -07:00
2011-01-13 08:03:23 -08:00
2011-01-13 08:03:25 -08:00
2011-01-13 08:03:24 -08:00
2014-07-11 13:33:53 +01:00
2011-03-31 11:26:23 -03:00
2011-01-13 08:03:25 -08:00
2011-07-25 20:57:14 -07:00
2011-11-21 11:35:37 +01:00
2011-10-25 12:13:59 +02:00
2011-10-26 16:32:11 -04:00
2011-05-26 17:12:38 -07:00
2011-05-26 17:12:38 -07:00
2011-05-26 17:12:33 -07:00
2012-10-17 03:49:37 +01:00
2012-10-30 23:27:06 +00:00
2011-09-20 23:24:44 -04:00
2014-07-11 13:33:47 +01:00
2011-07-22 18:46:26 +02:00
2011-01-12 03:06:19 -05:00
2011-10-04 11:30:53 +02:00
2011-10-31 17:30:51 -07:00
2012-04-02 09:52:35 -07:00
2013-04-25 20:25:39 +01:00
2011-10-31 17:30:56 -07:00
2011-10-31 17:30:56 -07:00
2011-07-25 20:57:15 -07:00
2011-02-18 11:32:28 -08:00
2011-10-04 12:44:03 +02:00
2011-05-26 09:42:19 -07:00
2011-05-25 08:39:52 -07:00
2014-04-02 00:58:49 +01:00
2011-08-06 18:32:45 -07:00
2014-07-11 13:33:57 +01:00
2011-03-31 11:26:23 -03:00
2014-04-30 16:23:26 +01:00
2011-07-08 14:02:53 +02:00
2011-09-13 11:11:50 +02:00
2011-10-31 17:30:45 -07:00
2014-01-03 04:33:32 +00:00
2011-09-13 11:11:54 +02:00
2011-01-28 12:16:59 +10:00
2011-09-13 11:11:59 +02:00
2011-09-13 11:11:59 +02:00
2013-11-28 14:02:06 +00:00
2011-09-13 16:09:41 -07:00
2013-10-26 21:06:13 +01:00
2011-10-06 12:46:56 +02:00
2011-10-31 17:30:56 -07:00
2011-10-31 17:30:56 -07:00
2011-06-06 15:41:16 -04:00
2011-04-14 16:06:54 -07:00
2011-01-24 23:33:30 -08:00
2011-03-31 11:26:23 -03:00
2014-01-03 04:33:20 +00:00