diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2015-01-06 12:59:37 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2015-01-06 12:59:37 +0000 |
| commit | 2a8c860fe3f3bcfc6ba9206f34d067d998d89c7e (patch) | |
| tree | 8da641e0473d723ab1cc2e5a5772cb1eed6e4d6f /sys/dev/tl | |
| parent | fe657d68f54b7ef837aa6373bb9644911a074c8d (diff) | |
Notes
Diffstat (limited to 'sys/dev/tl')
| -rw-r--r-- | sys/dev/tl/if_tl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/tl/if_tl.c b/sys/dev/tl/if_tl.c index 8535b046565f..455dd38d1cfa 100644 --- a/sys/dev/tl/if_tl.c +++ b/sys/dev/tl/if_tl.c @@ -1813,8 +1813,7 @@ tl_encap(sc, c, m_head) 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); if_printf(ifp, "no memory for tx list\n"); return(1); |
