mptcp: avoid printing warning once on client side
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 23 Feb 2024 16:14:13 +0000 (17:14 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Feb 2024 02:41:55 +0000 (18:41 -0800)
commit5b49c41ac8f27aa3a63a1712b1f54f91015c18f2
tree44bd17d29d7801a6e2d18a075894ec152f0bea32
parent7092dbee23282b6fcf1313fc64e2b92649ee16e8
mptcp: avoid printing warning once on client side

After the 'Fixes' commit mentioned below, the client side might print
the following warning once when a subflow is fully established at the
reception of any valid additional ack:

  MPTCP: bogus mpc option on established client sk

That's a normal situation, and no warning should be printed for that. We
can then skip the check when the label is used.

Fixes: e4a0fa47e816 ("mptcp: corner case locking for rx path fields initialization")
Cc: stable@vger.kernel.org
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240223-upstream-net-20240223-misc-fixes-v1-3-162e87e48497@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/options.c