summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2014-05-12 16:38:18 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-14 21:11:22 +0200
commitc4b160685fc85e41fe8c08478cc61f4877d26973 (patch)
tree2f47eb3b894e440f007553682974656efb9a45ae /arch
parentipv6: fix calculation of option len in ip6_append_data (diff)
downloadlinux-c4b160685fc85e41fe8c08478cc61f4877d26973.tar.xz
linux-c4b160685fc85e41fe8c08478cc61f4877d26973.zip
jme: Fix unmap loop counting error:
In my recent fix (76a691d0a: fix dma unmap warning), Ben Hutchings noted that my loop count was incorrect. Where j started at startidx, it should have started at zero, and gone on for count entries, not to endidx. Additionally, a DMA resource exhaustion should drop the frame and (for now), return NETDEV_TX_OK, not NETEV_TX_BUSY. This patch fixes both of those issues: Signed-off-by: Neil Horman <nhorman@tuxdriver.com> CC: Ben Hutchings <ben@decadent.org.uk> CC: "David S. Miller" <davem@davemloft.net> CC: Guo-Fu Tseng <cooldavid@cooldavid.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions