aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cs
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/cs
parentfe657d68f54b7ef837aa6373bb9644911a074c8d (diff)
Notes
Diffstat (limited to 'sys/dev/cs')
-rw-r--r--sys/dev/cs/if_cs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c
index 8ad50eb23de4..a9b0d088ab6d 100644
--- a/sys/dev/cs/if_cs.c
+++ b/sys/dev/cs/if_cs.c
@@ -716,8 +716,7 @@ cs_get_packet(struct cs_softc *sc)
return (-1);
if (length > MHLEN) {
- MCLGET(m, M_NOWAIT);
- if (!(m->m_flags & M_EXT)) {
+ if (!(MCLGET(m, M_NOWAIT))) {
m_freem(m);
return (-1);
}