diff options
author | Karsten Graul <kgraul@linux.ibm.com> | 2019-01-30 18:51:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-01 14:45:45 -0800 |
commit | 46ad02229d6b4ee276eb295ca08f039993f323c8 (patch) | |
tree | ba921dc696d6047a9e30805bdb39d2c5dbca42d9 /net/batman-adv | |
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>
Diffstat (limited to 'net/batman-adv')
0 files changed, 0 insertions, 0 deletions