diff options
author | yongari <yongari@FreeBSD.org> | 2009-12-24 20:43:31 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2009-12-24 20:43:31 +0000 |
commit | ad72b5b0b6eb26a45d215f9551707047d00cce9d (patch) | |
tree | 4139046a54bf9541b54009614a72a676a725823f /sys/dev/ste/if_ste.c | |
parent | 31dfe727b9f331ae54552e635ced8f6184ab93c3 (diff) | |
download | FreeBSD-src-ad72b5b0b6eb26a45d215f9551707047d00cce9d.zip FreeBSD-src-ad72b5b0b6eb26a45d215f9551707047d00cce9d.tar.gz |
Update if_iqdrops in case of RX buffer allocation failure.
Diffstat (limited to 'sys/dev/ste/if_ste.c')
-rw-r--r-- | sys/dev/ste/if_ste.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ste/if_ste.c b/sys/dev/ste/if_ste.c index 91f25b8..fde98fd 100644 --- a/sys/dev/ste/if_ste.c +++ b/sys/dev/ste/if_ste.c @@ -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; } |