Fix a problem that caused TCP fragments to be lost (among other things.)

This commit is contained in:
Matthew N. Dodd 2000-03-24 23:31:42 +00:00
parent 76b501da94
commit c9c222f749
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58539

View file

@ -507,7 +507,7 @@ ep_if_start(ifp)
}
} else {
for (top = m; m != 0; m = m->m_next) {
if (m->m_len > 3)
if (m->m_len > 1)
outsw(BASE + EP_W1_TX_PIO_WR_1,
mtod(m, caddr_t), m->m_len / 2);
if (m->m_len & 1)