netxen: fix infinite loop on dma mapping failure
authorDhananjay Phadke <dhananjay@netxen.com>
Thu, 3 Sep 2009 13:10:55 +0000 (13:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Sep 2009 03:02:04 +0000 (20:02 -0700)
commitcf503e8f458cec455b18d3938b3b27de6db3105e
tree1a74f7741be82cd6ded3371ee794f80f749e1a86
parent270e57e133a9e61c8c62ea4a0d1ffdf53f91caf1
netxen: fix infinite loop on dma mapping failure

Fix a perpetual while() loop in unwinding partial
mapped tx skb on dma mapping failure.

Reported-by: "Juha Leppanen" <juha_motorsportcom@luukku.com>
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c