WSL2-Linux-Kernel/net/atm
Xiaobo Liu d8bde3bf7f net/atm: fix proc_mpc_write incorrect return value
Then the input contains '\0' or '\n', proc_mpc_write has read them,
so the return value needs +1.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-10-15 11:08:36 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
addr.c
addr.h
atm_misc.c
atm_sysfs.c net: atm: use DEVICE_ATTR_RO macro 2021-05-20 15:50:54 -07:00
br2684.c net: atm: use address setting helpers 2021-10-24 13:59:45 +01:00
clip.c net: atm: Reduce the severity of logging in unlink_clip_vcc 2019-11-18 17:08:20 -08:00
common.c net: SO_RCVMARK socket option for SO_MARK with recvmsg() 2022-04-28 13:08:15 -07:00
common.h net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00
ioctl.c atm: switch do_atmif_sioc() to direct use of atm_dev_ioctl() 2020-05-20 20:31:36 -04:00
lec.c net: atm: use address setting helpers 2021-10-24 13:59:45 +01:00
lec.h
lec_arpc.h net: atm: lec_arpc.h: delete duplicated word 2020-07-19 18:14:21 -07:00
mpc.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
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 net/atm: fix proc_mpc_write incorrect return value 2022-10-15 11:08:36 +01:00
pppoatm.c net: atm: pppoatm: use new API for wakeup tasklet 2021-01-29 18:24:05 -08:00
proc.c proc: remove PDE_DATA() completely 2022-01-22 08:33:37 +02:00
protocols.h
pvc.c net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00
raw.c atm: nicstar: Replace in_interrupt() usage 2020-11-18 16:43:55 -08:00
resources.c atm: Use list_for_each_entry() to simplify code in resources.c 2021-06-10 14:08:09 -07:00
resources.h atm: lift copyin from atm_dev_ioctl() 2020-05-20 20:31:35 -04:00
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