diff --git a/src/util-validate.h b/src/util-validate.h index b5c3da26b2..b7647a7d4d 100644 --- a/src/util-validate.h +++ b/src/util-validate.h @@ -96,11 +96,14 @@ } \ } while(0) +#define DEBUG_VALIDATE_BUG_ON(exp) BUG_ON((exp)) + #else /* DEBUG_VALIDATE */ #define DEBUG_ASSERT_FLOW_LOCKED(f) #define DEBUG_VALIDATE_FLOW(f) #define DEBUG_VALIDATE_PACKET(p) +#define DEBUG_VALIDATE_BUG_ON(exp) #endif /* DEBUG_VALIDATE */