aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fe
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/fe
parentfe657d68f54b7ef837aa6373bb9644911a074c8d (diff)
Notes
Diffstat (limited to 'sys/dev/fe')
-rw-r--r--sys/dev/fe/if_fe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index 2123dfc08263..4598b59fcb97 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -1880,8 +1880,7 @@ fe_get_packet (struct fe_softc * sc, u_short len)
/* Attach a cluster if this packet doesn't fit in a normal mbuf. */
if (len > MHLEN - NFS_MAGIC_OFFSET) {
- MCLGET(m, M_NOWAIT);
- if (!(m->m_flags & M_EXT)) {
+ if (!(MCLGET(m, M_NOWAIT))) {
m_freem(m);
return -1;
}