From: Paolo Abeni Date: Tue, 25 May 2021 21:23:12 +0000 (-0700) Subject: mptcp: avoid error message on infinite mapping X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3ed0a585bfadb6bd7080f11184adbc9edcce7dbc;p=linux.git mptcp: avoid error message on infinite mapping Another left-over. Avoid flooding dmesg with useless text, we already have a MIB for that event. Fixes: 648ef4b88673 ("mptcp: Implement MPTCP receive path") Signed-off-by: Paolo Abeni Signed-off-by: Mat Martineau Signed-off-by: David S. Miller --- diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c index a5ede357cfbc5..bde6be77ea73b 100644 --- a/net/mptcp/subflow.c +++ b/net/mptcp/subflow.c @@ -867,7 +867,6 @@ static enum mapping_status get_mapping_status(struct sock *ssk, data_len = mpext->data_len; if (data_len == 0) { - pr_err("Infinite mapping not handled"); MPTCP_INC_STATS(sock_net(ssk), MPTCP_MIB_INFINITEMAPRX); return MAPPING_INVALID; }