Re: [PATCH net 1/9] mptcp: sysctl: avail sched: remove write access

From: Eric Dumazet
Date: Wed Jan 08 2025 - 11:26:50 EST


On Wed, Jan 8, 2025 at 4:35 PM Matthieu Baerts (NGI0)
<matttbe@xxxxxxxxxx> wrote:
>
> 'net.mptcp.available_schedulers' sysctl knob is there to list available
> schedulers, not to modify this list.
>
> There are then no reasons to give write access to it.
>
> Nothing would have been written anyway, but no errors would have been
> returned, which is unexpected.
>
> Fixes: 73c900aa3660 ("mptcp: add net.mptcp.available_schedulers")
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Mat Martineau <martineau@xxxxxxxxxx>
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>