ia64/xen-unstable

changeset 665:63045128dbbb

bitkeeper revision 1.380 (3f27db60mH7HcLNPwteU9ODmiRrLTg)

dev.c:
Fix network tx events
author kaf24@scramble.cl.cam.ac.uk
date Wed Jul 30 14:51:12 2003 +0000 (2003-07-30)
parents 8772d7598f1e
children b2b71842e45e
files xen/net/dev.c
line diff
     1.1 --- a/xen/net/dev.c	Wed Jul 30 13:21:01 2003 +0000
     1.2 +++ b/xen/net/dev.c	Wed Jul 30 14:51:12 2003 +0000
     1.3 @@ -2029,7 +2029,7 @@ static void make_tx_response(net_vif_t  
     1.4      resp->status = st;
     1.5      pos = TX_RING_INC(pos);
     1.6      vif->tx_resp_prod = vif->shared_idxs->tx_resp_prod = pos;
     1.7 -    if ( pos == vif->shared_idxs->rx_event )
     1.8 +    if ( pos == vif->shared_idxs->tx_event )
     1.9      {
    1.10          unsigned long cpu_mask = mark_guest_event(vif->domain, _EVENT_NET);
    1.11          guest_event_notify(cpu_mask);