diff options
Diffstat (limited to 'include/linux/net.h')
-rw-r--r-- | include/linux/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/net.h b/include/linux/net.h index e0930678c8bf..651fca72286c 100644 --- a/include/linux/net.h +++ b/include/linux/net.h | |||
@@ -263,7 +263,7 @@ do { \ | |||
263 | #define net_dbg_ratelimited(fmt, ...) \ | 263 | #define net_dbg_ratelimited(fmt, ...) \ |
264 | do { \ | 264 | do { \ |
265 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ | 265 | DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt); \ |
266 | if (unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT) && \ | 266 | if (DYNAMIC_DEBUG_BRANCH(descriptor) && \ |
267 | net_ratelimit()) \ | 267 | net_ratelimit()) \ |
268 | __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ | 268 | __dynamic_pr_debug(&descriptor, pr_fmt(fmt), \ |
269 | ##__VA_ARGS__); \ | 269 | ##__VA_ARGS__); \ |