diff options
author | Phil Sutter <n0-1@freewrt.org> | 2009-01-15 15:29:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-20 03:23:00 +0300 |
commit | 6a2fe9834e578590f4a2fbe18a574465ab0e127c (patch) | |
tree | 0560c9a31716369e3b32dda6560e98d0a9322bd8 /drivers/edac/r82600_edac.c | |
parent | eed087e367591fc08490d7c6c2779b4b72c8f20c (diff) | |
download | linux-6a2fe9834e578590f4a2fbe18a574465ab0e127c.tar.xz |
korina: fix loop back of receive descriptors
After the last loop iteration, i has the value RC32434_NUM_RDS and
therefore leads to an index overflow when used afterwards to address the
last element. This is yet another another bug introduced when rewriting
parts of the driver for upstream preparation, as the original driver
used 'RC32434_NUM_RDS - 1' instead.
Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/edac/r82600_edac.c')
0 files changed, 0 insertions, 0 deletions