]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: hand receive DMA mapping failures
authorstephen hemminger <shemminger@vyatta.com>
Mon, 1 Feb 2010 13:45:41 +0000 (13:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Feb 2010 04:32:28 +0000 (20:32 -0800)
commitd0604f31a39253e6f3a625e4ab0e08a98db31c2f
treee307be7f7f8b9c6b41359c98399ea5a356da8b65
parentf09d61a2671fe176d17dbc1d1662c3c1623f4bf0
sky2: hand receive DMA mapping failures

If receive buffer mapping failed, then it was possible to get
stuck with unmapped receive buffer in DMA ring.

This would be an extremely rare condition because the driver had just
released the map for the last receive so it should be able to get
another map again (in soft-irq).

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