commit | 46ad02229d6b4ee276eb295ca08f039993f323c8 | [log] [tgz] |
---|---|---|
author | Karsten Graul <kgraul@linux.ibm.com> | Wed Jan 30 18:51:08 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 01 14:45:45 2019 -0800 |
tree | ba921dc696d6047a9e30805bdb39d2c5dbca42d9 | |
parent | e5f3aa04dbfd92154f21edfeb7a1676a45918928 [diff] |
net/smc: fix use of variable in cleared area Do not use pend->idx as index for the arrays because its value is located in the cleared area. Use the existing local variable instead. Without this fix the wrong area might be cleared. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>