mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-21 15:45:02 +00:00
- 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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97018
@ -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