aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wb
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/wb
parentfe657d68f54b7ef837aa6373bb9644911a074c8d (diff)
Notes
Diffstat (limited to 'sys/dev/wb')
-rw-r--r--sys/dev/wb/if_wb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/wb/if_wb.c b/sys/dev/wb/if_wb.c
index 01090aacde66..4215d9e6aa71 100644
--- a/sys/dev/wb/if_wb.c
+++ b/sys/dev/wb/if_wb.c
@@ -1194,8 +1194,7 @@ wb_encap(sc, c, m_head)
if (m_new == NULL)
return(1);
if (m_head->m_pkthdr.len > MHLEN) {
- MCLGET(m_new, M_NOWAIT);
- if (!(m_new->m_flags & M_EXT)) {
+ if (!(MCLGET(m_new, M_NOWAIT))) {
m_freem(m_new);
return(1);
}