From: Stanislav Kinsburskiy <[email protected]> Signed-off-by: Stanislav Kinsburskiy <[email protected]>
(cherry picked from vz8 commit be39a8143e91103c6185598c26b47f14751876ff) Signed-off-by: Konstantin Khorenko <[email protected]> --- include/linux/net.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/net.h b/include/linux/net.h index ba736b457a06..13d517b91c3b 100644 --- a/include/linux/net.h +++ b/include/linux/net.h @@ -282,6 +282,11 @@ do { \ } while (0) #endif +#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_get_random_once(buf, nbytes) \ get_random_once((buf), (nbytes)) #define net_get_random_once_wait(buf, nbytes) \ -- 2.28.0 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
