e1000e: fix dma error handling issues
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Mar 2009 01:12:50 +0000 (01:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Mar 2009 08:17:20 +0000 (01:17 -0700)
commit1b7719c4559dc1522065d4cfd033f8bb8f969159
treed38b95cbe779ac1d9db46f3460d760653bce8dc0
parent8c81c9c315b7e7e240906fab0e8dde1595101bd2
e1000e: fix dma error handling issues

There were a few issues I noticed in e1000e. These include a double free
of the skb if mapping fails, and the fact that context descriptors appear
to be left in the descriptor ring after the failure.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c