Update if_iqdrops in case of RX buffer allocation failure.

This commit is contained in:
Pyun YongHyeon 2009-12-24 20:43:31 +00:00
parent 3fad75a846
commit da57a8c835

View File

@ -798,7 +798,7 @@ ste_rxeof(struct ste_softc *sc, int count)
* can do in this situation.
*/
if (ste_newbuf(sc, cur_rx) != 0) {
ifp->if_ierrors++;
ifp->if_iqdrops++;
cur_rx->ste_ptr->ste_status = 0;
continue;
}