linux-stable/net/atm
Xiaobo Liu 149af95224 net/atm: fix proc_mpc_write incorrect return value
[ Upstream commit d8bde3bf7f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-03 23:49:15 +09:00
..
Kconfig
Makefile
addr.c
addr.h
atm_misc.c
atm_sysfs.c
br2684.c
clip.c
common.c
common.h
ioctl.c
lec.c
lec.h
lec_arpc.h
mpc.c
mpc.h
mpoa_caches.c
mpoa_caches.h
mpoa_proc.c
pppoatm.c
proc.c
protocols.h
pvc.c
raw.c
resources.c
resources.h
signaling.c
signaling.h
svc.c