kernel_optimize_test/net/atm
Colin Ian King 2f71e00619 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>
2020-10-31 12:26:30 -07:00
..
addr.c
addr.h
atm_misc.c
atm_sysfs.c
br2684.c
clip.c
common.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
common.h net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00
ioctl.c
Kconfig
lec_arpc.h net: atm: lec_arpc.h: delete duplicated word 2020-07-19 18:14:21 -07:00
lec.c net: atm: fix update of position index in lec_seq_next 2020-10-31 12:26:30 -07:00
lec.h
Makefile
mpc.c
mpc.h
mpoa_caches.c mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
mpoa_caches.h
mpoa_proc.c
pppoatm.c treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2020-07-30 11:15:58 -07:00
proc.c
protocols.h
pvc.c net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00
raw.c
resources.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
resources.h
signaling.c net: atm: delete duplicated words 2020-09-18 14:12:43 -07:00
signaling.h
svc.c net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00