Fix an instance of FOO_RX_LIST_CNT that should have been FOO_TX_LIST_CNT.
This commit is contained in:
parent
6fb4dca474
commit
3b0ecb8e18
@ -1350,7 +1350,7 @@ static int dm_encap(sc, m_head, txidx)
|
||||
|
||||
for (m = m_new; m != NULL; m = m->m_next) {
|
||||
if (m->m_len != 0) {
|
||||
if ((DM_RX_LIST_CNT -
|
||||
if ((DM_TX_LIST_CNT -
|
||||
(sc->dm_cdata.dm_tx_cnt + cnt)) < 2)
|
||||
return(ENOBUFS);
|
||||
f = &sc->dm_ldata->dm_tx_list[frag];
|
||||
|
@ -1105,7 +1105,7 @@ static int sis_encap(sc, m_head, txidx)
|
||||
|
||||
for (m = m_head; m != NULL; m = m->m_next) {
|
||||
if (m->m_len != 0) {
|
||||
if ((SIS_RX_LIST_CNT -
|
||||
if ((SIS_TX_LIST_CNT -
|
||||
(sc->sis_cdata.sis_tx_cnt + cnt)) < 2)
|
||||
return(ENOBUFS);
|
||||
f = &sc->sis_ldata->sis_tx_list[frag];
|
||||
|
Loading…
Reference in New Issue
Block a user