aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/api.c
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-08-30 16:49:29 -0500
committerDavid S. Miller <davem@davemloft.net>2013-09-03 22:21:16 -0400
commit92cd4253e553e87a715243a36623945edcbf1ec7 (patch)
tree46ca3c346fc1a1d5f53e76d3a34fee54018e5362 /crypto/api.c
parentnet: calxedaxgmac: fix rx DMA mapping API size mismatches (diff)
downloadlinux-dev-92cd4253e553e87a715243a36623945edcbf1ec7.tar.xz
linux-dev-92cd4253e553e87a715243a36623945edcbf1ec7.zip
net: calxedaxgmac: fix xgmac_xmit DMA mapping error handling
On a DMA mapping error in xgmac_xmit, we should simply free the skb and return NETDEV_TX_OK rather than -EIO. In the case of errors in mapping frags, we need to undo everything that has been setup. Reported-by: Andreas Herrmann <andreas.herrmann@calxeda.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions