summaryrefslogtreecommitdiffstats
path: root/sys/dev/snc/dp83932.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/snc/dp83932.c')
-rw-r--r--sys/dev/snc/dp83932.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/snc/dp83932.c b/sys/dev/snc/dp83932.c
index f0ebae1..58966ea 100644
--- a/sys/dev/snc/dp83932.c
+++ b/sys/dev/snc/dp83932.c
@@ -345,9 +345,7 @@ outloop:
return;
/* We need the header for m_pkthdr.len. */
- if ((m->m_flags & M_PKTHDR) == 0)
- panic("%s: sncstart: no header mbuf",
- device_get_nameunit(sc->sc_dev));
+ M_ASSERTPKTHDR(m);
/*
* If bpf is listening on this interface, let it
OpenPOWER on IntegriCloud