[Devel] [PATCH RHEL7 COMMIT] ve/net/printk: net_veboth_ratelimited introduced
Konstantin Khorenko
khorenko at odin.com
Mon May 18 01:29:44 PDT 2015
The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.5.1
------>
commit 16d8b1d984f26100bf006ed93fcd47642401dd26
Author: Vasily Averin <vvs at odin.com>
Date: Mon May 18 12:29:44 2015 +0400
ve/net/printk: net_veboth_ratelimited introduced
net_veboth_ratelimited is required to save net-ratelimited messages
both into host and into containers dmesg buffers
Signed-off-by: Vasily Averin <vvs at openvz.org>
Acked-by: Kirill Tkhai <ktkhai at odin.com>
---
include/linux/net.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/net.h b/include/linux/net.h
index d7b2205..7e59abe 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -249,6 +249,8 @@ do { \
net_ratelimited_function(pr_debug, fmt, ##__VA_ARGS__)
#define net_velog_ratelimited(fmt, ...) \
net_ratelimited_function(ve_printk, VE_LOG, fmt, ##__VA_ARGS__)
+#define net_veboth_ratelimited(fmt, ...) \
+ net_ratelimited_function(ve_printk, VE_LOG_BOTH, fmt, ##__VA_ARGS__)
#define net_random() prandom_u32()
More information about the Devel
mailing list