]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/net/netxen/netxen_nic_main.c
netxen: handle dma mapping failures
authorDhananjay Phadke <dhananjay@netxen.com>
Thu, 15 Jan 2009 04:50:00 +0000 (20:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2009 04:50:00 +0000 (20:50 -0800)
commit6f70340698333f14b1d9c9e913c5de8f66b72c55
tree52733b9edfee2fcaa396054cbf44555b142e2fd1
parent03e678ee968ae54b79c1580c2935895bd863ad95
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>
drivers/net/netxen/netxen_nic.h
drivers/net/netxen/netxen_nic_init.c
drivers/net/netxen/netxen_nic_main.c