diff options
author | Colin Ian King <colin.king@canonical.com> | 2020-10-27 14:49:25 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-31 22:26:30 +0300 |
commit | 2f71e00619dcde3d8a98ba3e7f52e98282504b7d (patch) | |
tree | 1969f3b7597396243872a4d0cdc3d04b0fc735d6 /include | |
parent | 2b94f5266c8452c01291f3b0370fcad28a357746 (diff) | |
download | linux-2f71e00619dcde3d8a98ba3e7f52e98282504b7d.tar.xz |
net: atm: fix update of position index in lec_seq_next
The position index in leq_seq_next is not updated when the next
entry is fetched an no more entries are available. This causes
seq_file to report the following error:
"seq_file: buggy .next function lec_seq_next [lec] did not update
position index"
Fix this by always updating the position index.
[ Note: this is an ancient 2002 bug, the sha is from the
tglx/history repo ]
Fixes 4aea2cbff417 ("[ATM]: Move lan seq_file ops to lec.c [1/3]")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20201027114925.21843-1-colin.king@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions