aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ti
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2010-05-03 15:51:59 +0000
committerAlan Cox <alc@FreeBSD.org>2010-05-03 15:51:59 +0000
commit492d01762f9243f7a112f8ab3935f1e0b8d43e49 (patch)
tree082c40946c3f017ab5b6b1319ca93216d31aacab /sys/dev/ti
parentbf6f1b56c56b12212ddf22dabe23fee448174bf4 (diff)
downloadsrc-492d01762f9243f7a112f8ab3935f1e0b8d43e49.tar.gz
src-492d01762f9243f7a112f8ab3935f1e0b8d43e49.zip
Notes
Diffstat (limited to 'sys/dev/ti')
-rw-r--r--sys/dev/ti/if_ti.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index 20130bcd15f5..7eeee36fe271 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -1488,10 +1488,8 @@ ti_newbuf_jumbo(sc, idx, m_old)
}
sf[i] = sf_buf_alloc(frame, SFB_NOWAIT);
if (sf[i] == NULL) {
- vm_page_lock_queues();
vm_page_unwire(frame, 0);
vm_page_free(frame);
- vm_page_unlock_queues();
device_printf(sc->ti_dev, "buffer allocation "
"failed -- packet dropped!\n");
printf(" index %d page %d\n", idx, i);