]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: handle dma mapping errors
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 3 Feb 2009 11:27:28 +0000 (11:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Feb 2009 23:08:35 +0000 (15:08 -0800)
commit3a385855e08836626a504ae4908f5873ad77e808
tree182b21717db92f80f4af73c7cae4884a2e22d443
parentfc9b6360f97b0527a9d1166b7c88581502c35701
sky2: handle dma mapping errors

On non-x86 platforms it is possible to run out of DMA mapping resources.
The driver was ignoring this and could cause corruptions.

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