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: 1da177e4c3f4 ("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
..
2021-05-20 15:50:54 -07:00
2021-10-24 13:59:45 +01:00
2021-10-24 13:59:45 +01:00
2022-01-22 08:33:37 +02:00
2020-07-24 15:41:54 -07:00
2020-09-18 14:12:43 -07:00
2020-07-24 15:41:54 -07:00