- Turn a #ifdef DIAGNOSTIC to #ifdef INVARIANTS as the code from this line
through the #endif is really a sanity check. Reviewed by: jake
This commit is contained in:
parent
3029e334b7
commit
e16f6e6200
@ -309,7 +309,7 @@ ip_input(struct mbuf *m)
|
||||
} else
|
||||
rule = NULL ;
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
#ifdef INVARIANTS
|
||||
if (m == NULL || (m->m_flags & M_PKTHDR) == 0)
|
||||
panic("ip_input no HDR");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user