be2net: free tx buffers when completions never arrive
authorSathya Perla <sathyap@serverengines.com>
Thu, 18 Feb 2010 00:37:17 +0000 (00:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Feb 2010 23:43:10 +0000 (15:43 -0800)
commitb03388d6389e8853ddd9ae19d2ba15a6dbbe5d21
tree032417e678d19da31df28e702fbf63d9534e1baf
parent72032fdbcde8b333e65b3430e1bcb4358e2d6716
be2net: free tx buffers when completions never arrive

be2net: free tx buffers when completions never arrive

In cases like when a pci device is disconnected on an error,
pending tx completions will never arrive. Unmap and free such
buffers in the tx cleanup path.

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c