summaryrefslogtreecommitdiffstats
path: root/sys/dev/xen/netfront/netfront.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/xen/netfront/netfront.c')
-rw-r--r--sys/dev/xen/netfront/netfront.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c
index 28b3fc3..d28f656 100644
--- a/sys/dev/xen/netfront/netfront.c
+++ b/sys/dev/xen/netfront/netfront.c
@@ -1101,8 +1101,8 @@ xn_alloc_rx_buffers(struct netfront_rxq *rxq)
/* Not enough requests? Try again later. */
if (req_prod - rxq->ring.rsp_cons < NET_RX_SLOTS_MIN) {
- callout_reset(&rxq->rx_refill, hz/10, xn_alloc_rx_buffers_callout,
- rxq);
+ callout_reset_curcpu(&rxq->rx_refill, hz/10,
+ xn_alloc_rx_buffers_callout, rxq);
return;
}
OpenPOWER on IntegriCloud