Xiaobo Liu 149af95224 net/atm: fix proc_mpc_write incorrect return value
[ Upstream commit d8bde3bf7f82dac5fc68a62c2816793a12cafa2a ]

Then the input contains '\0' or '\n', proc_mpc_write has read them,
so the return value needs +1.

Fixes: 1da177e4c3f4 ("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
..
2015-11-30 14:47:33 -05:00
2020-10-01 20:40:12 +02:00
2013-03-28 01:20:42 -04:00
2014-04-18 14:20:48 +02:00
2013-04-09 14:13:32 -04:00
2016-05-23 13:51:10 -07:00