ia64/xen-unstable

changeset 1755:1737fd2e4368

bitkeeper revision 1.1062.1.9 (40f2be17nAuA7EGu99OX-tMqApMDPQ)

Bug fix in network backend.
author kaf24@scramble.cl.cam.ac.uk
date Mon Jul 12 16:36:39 2004 +0000 (2004-07-12)
parents 8e52f41499a0
children ba1f4ebe0154
files linux-2.4.26-xen-sparse/arch/xen/drivers/netif/backend/main.c
line diff
     1.1 --- a/linux-2.4.26-xen-sparse/arch/xen/drivers/netif/backend/main.c	Mon Jul 12 15:56:23 2004 +0000
     1.2 +++ b/linux-2.4.26-xen-sparse/arch/xen/drivers/netif/backend/main.c	Mon Jul 12 16:36:39 2004 +0000
     1.3 @@ -495,7 +495,7 @@ static void net_tx_action(unsigned long 
     1.4  
     1.5          pending_idx = pending_ring[MASK_PEND_IDX(pending_cons)];
     1.6  
     1.7 -        if ( unlikely((skb = alloc_skb(PKT_PROT_LEN, GFP_ATOMIC)) == NULL) )
     1.8 +        if ( unlikely((skb = dev_alloc_skb(PKT_PROT_LEN)) == NULL) )
     1.9          {
    1.10              DPRINTK("Can't allocate a skb in start_xmit.\n");
    1.11              make_tx_response(netif, txreq.id, NETIF_RSP_ERROR);