diff options
author | Neil Horman <[email protected]> | 2014-05-12 10:38:18 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-05-14 15:11:22 -0400 |
commit | c4b160685fc85e41fe8c08478cc61f4877d26973 (patch) | |
tree | 2f47eb3b894e440f007553682974656efb9a45ae /fs/jbd2/commit.c | |
parent | 3a1cebe7e05027a1c96f2fc1a8eddf5f19b78f42 (diff) |
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 <[email protected]>
CC: Ben Hutchings <[email protected]>
CC: "David S. Miller" <[email protected]>
CC: Guo-Fu Tseng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions