summaryrefslogtreecommitdiffstats
path: root/lib/uuid.c
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2014-05-12 10:38:18 -0400
committerDavid S. Miller <davem@davemloft.net>2014-05-14 15:11:22 -0400
commitc4b160685fc85e41fe8c08478cc61f4877d26973 (patch)
tree2f47eb3b894e440f007553682974656efb9a45ae /lib/uuid.c
parent3a1cebe7e05027a1c96f2fc1a8eddf5f19b78f42 (diff)
downloadlinux-c4b160685fc85e41fe8c08478cc61f4877d26973.tar.gz
linux-c4b160685fc85e41fe8c08478cc61f4877d26973.tar.bz2
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 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions