diff options
author | glebius <glebius@FreeBSD.org> | 2004-10-17 21:44:11 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2004-10-17 21:44:11 +0000 |
commit | 7a507d9524bda03f15eb842fed72d6ba67fcf5d0 (patch) | |
tree | 153e60260f1c3ca27219c7f59b67d9875920006d /sys/dev/ex/if_ex.c | |
parent | c0d4a309fcd69b149da0af3f481c9e7f48fa6f69 (diff) | |
download | FreeBSD-src-7a507d9524bda03f15eb842fed72d6ba67fcf5d0.zip FreeBSD-src-7a507d9524bda03f15eb842fed72d6ba67fcf5d0.tar.gz |
Use cluster if data >= MINCLSIZE.
Reviewed by: mdodd
Approved by: julian (mentor)
MFC after: 1 month
Diffstat (limited to 'sys/dev/ex/if_ex.c')
-rw-r--r-- | sys/dev/ex/if_ex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index 0ddd2c1..7218529 100644 --- a/sys/dev/ex/if_ex.c +++ b/sys/dev/ex/if_ex.c @@ -697,7 +697,7 @@ ex_rx_intr(struct ex_softc *sc) ipkt->m_len = MHLEN; while (pkt_len > 0) { - if (pkt_len > MINCLSIZE) { + if (pkt_len >= MINCLSIZE) { MCLGET(m, M_DONTWAIT); if (m->m_flags & M_EXT) { m->m_len = MCLBYTES; |