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/cp | |
| parent | fe657d68f54b7ef837aa6373bb9644911a074c8d (diff) | |
Notes
Diffstat (limited to 'sys/dev/cp')
| -rw-r--r-- | sys/dev/cp/if_cp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index 4e70838fcd9df..3d07ef2ba4cfe 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -191,8 +191,7 @@ static struct mbuf *makembuf (void *buf, unsigned len) MGETHDR (m, M_NOWAIT, MT_DATA); if (! m) return 0; - MCLGET (m, M_NOWAIT); - if (! (m->m_flags & M_EXT)) { + if (!(MCLGET (m, M_NOWAIT))) { m_freem (m); return 0; } |
