diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_conntrack.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h index bb9fc852e973..4a0496aa32d5 100644 --- a/include/net/netfilter/nf_conntrack.h +++ b/include/net/netfilter/nf_conntrack.h | |||
@@ -65,14 +65,7 @@ union nf_conntrack_help { | |||
65 | #include <linux/timer.h> | 65 | #include <linux/timer.h> |
66 | 66 | ||
67 | #ifdef CONFIG_NETFILTER_DEBUG | 67 | #ifdef CONFIG_NETFILTER_DEBUG |
68 | #define NF_CT_ASSERT(x) \ | 68 | #define NF_CT_ASSERT(x) WARN_ON(!(x)) |
69 | do { \ | ||
70 | if (!(x)) \ | ||
71 | /* Wooah! I'm tripping my conntrack in a frenzy of \ | ||
72 | netplay... */ \ | ||
73 | printk("NF_CT_ASSERT: %s:%i(%s)\n", \ | ||
74 | __FILE__, __LINE__, __FUNCTION__); \ | ||
75 | } while(0) | ||
76 | #else | 69 | #else |
77 | #define NF_CT_ASSERT(x) | 70 | #define NF_CT_ASSERT(x) |
78 | #endif | 71 | #endif |