summaryrefslogtreecommitdiffstats
path: root/sys/netkey
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netkey')
-rw-r--r--sys/netkey/keysock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netkey/keysock.c b/sys/netkey/keysock.c
index dbc48a8..5cf0924 100644
--- a/sys/netkey/keysock.c
+++ b/sys/netkey/keysock.c
@@ -110,8 +110,7 @@ key_output(m, va_alist)
}
}
- if ((m->m_flags & M_PKTHDR) == 0)
- panic("key_output: not M_PKTHDR ??");
+ M_ASSERTPKTHDR(m);
KEYDEBUG(KEYDEBUG_KEY_DUMP, kdebug_mbuf(m));
OpenPOWER on IntegriCloud