diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-01-14 23:50:00 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-14 23:50:00 -0500 |
commit | 6f70340698333f14b1d9c9e913c5de8f66b72c55 (patch) | |
tree | 52733b9edfee2fcaa396054cbf44555b142e2fd1 /drivers/net/netxen/netxen_nic.h | |
parent | 03e678ee968ae54b79c1580c2935895bd863ad95 (diff) |
netxen: handle dma mapping failures
o Bail out if pci_map_single() fails while replenishing rx ring.
o Drop packet if pci_map_{single,page}() fail in tx.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index 6598a34b87d4..c11c568fd7db 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h | |||
@@ -860,7 +860,6 @@ struct nx_host_rds_ring { | |||
860 | u32 skb_size; | 860 | u32 skb_size; |
861 | struct netxen_rx_buffer *rx_buf_arr; /* rx buffers for receive */ | 861 | struct netxen_rx_buffer *rx_buf_arr; /* rx buffers for receive */ |
862 | struct list_head free_list; | 862 | struct list_head free_list; |
863 | int begin_alloc; | ||
864 | }; | 863 | }; |
865 | 864 | ||
866 | /* | 865 | /* |