sky2: fix transmit DMA map leakage
authorstephen hemminger <shemminger@vyatta.com>
Mon, 1 Feb 2010 13:41:47 +0000 (13:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 02:34:28 +0000 (18:34 -0800)
commitf6815077e75c5b7f55b56fc3788e328514d4e72a
treea6356dca15692bc527848815a4fea71781d7f5ce
parent974c37e9d88c3e5a3e56eb98cb9c84232eb2bdcb
sky2: fix transmit DMA map leakage

The book keeping structure for transmit always had the flags value
cleared so transmit DMA maps were never released correctly.
Based on patch by Jarek Poplawski, problem observed by Michael Breuer.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c