]> www.infradead.org Git - users/hch/misc.git/commit
mptcp: pm: more precise error messages
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 7 Feb 2025 13:59:21 +0000 (14:59 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 11 Feb 2025 11:46:37 +0000 (12:46 +0100)
commit891a87f7a76c77f8afde876e08b55a2af9819709
tree4ff7b5db440868443773b46a9baf27a643de7d73
parent58b21309f97b08b6b9814d1ee1419249eba9ef08
mptcp: pm: more precise error messages

Some errors reported by the userspace PM were vague: "this or that is
invalid".

It is easier for the userspace to know which part is wrong, instead of
having to guess that.

While at it, in mptcp_userspace_pm_set_flags() move the parsing after
the check linked to the local attribute.

Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/mptcp/pm_userspace.c