aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2014-06-16 18:15:27 +0000
committerAttilio Rao <attilio@FreeBSD.org>2014-06-16 18:15:27 +0000
commit3ae10f7477caa7b2b179eea320ad4d78609d59c2 (patch)
tree84adf2de9d1ba827bc45bbdc6f1e76f230319e94 /sys/dev/ti
parenta39adbef47240aa6582e5209e151275b1c64cb7b (diff)
downloadsrc-3ae10f7477caa7b2b179eea320ad4d78609d59c2.tar.gz
src-3ae10f7477caa7b2b179eea320ad4d78609d59c2.zip
Notes
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index c201029bc7dc..bba974bea61f 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -1616,7 +1616,7 @@ ti_newbuf_jumbo(struct ti_softc *sc, int idx, struct mbuf *m_old)
}
sf[i] = sf_buf_alloc(frame, SFB_NOWAIT);
if (sf[i] == NULL) {
- vm_page_unwire(frame, 0);
+ vm_page_unwire(frame, PQ_INACTIVE);
vm_page_free(frame);
device_printf(sc->ti_dev, "buffer allocation "
"failed -- packet dropped!\n");