aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ex
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2015-01-06 12:59:37 +0000
committerRobert Watson <rwatson@FreeBSD.org>2015-01-06 12:59:37 +0000
commit2a8c860fe3f3bcfc6ba9206f34d067d998d89c7e (patch)
tree8da641e0473d723ab1cc2e5a5772cb1eed6e4d6f /sys/dev/ex
parentfe657d68f54b7ef837aa6373bb9644911a074c8d (diff)
Notes
Diffstat (limited to 'sys/dev/ex')
-rw-r--r--sys/dev/ex/if_ex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c
index 40723512cc0c..58321689ed04 100644
--- a/sys/dev/ex/if_ex.c
+++ b/sys/dev/ex/if_ex.c
@@ -745,8 +745,7 @@ ex_rx_intr(struct ex_softc *sc)
while (pkt_len > 0) {
if (pkt_len >= MINCLSIZE) {
- MCLGET(m, M_NOWAIT);
- if (m->m_flags & M_EXT) {
+ if (MCLGET(m, M_NOWAIT)) {
m->m_len = MCLBYTES;
} else {
m_freem(ipkt);