Thread (9 messages) 9 messages, 4 authors, 2014-06-02

Re: [PATCH] netlink: rate-limit leftover bytes warning and print process name

From: David Miller <davem@davemloft.net>
Date: 2014-05-31 00:16:25

From: Michal Schmidt <redacted>
Date: Fri, 30 May 2014 14:57:27 +0200
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.

Signed-off-by: Michal Schmidt <redacted>
Please use pr_warn_ratelimited() as suggested by Sergei.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help