summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2021-05-25 23:23:12 +0200
committerDavid S. Miller <davem@davemloft.net>2021-05-26 00:56:20 +0200
commit3ed0a585bfadb6bd7080f11184adbc9edcce7dbc (patch)
tree261a389cce6b6446f061a0f89268a13df02f7ad3 /net
parentmptcp: drop unconditional pr_warn on bad opt (diff)
downloadlinux-3ed0a585bfadb6bd7080f11184adbc9edcce7dbc.tar.xz
linux-3ed0a585bfadb6bd7080f11184adbc9edcce7dbc.zip
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 <pabeni@redhat.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/mptcp/subflow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mptcp/subflow.c b/net/mptcp/subflow.c
index a5ede357cfbc..bde6be77ea73 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;
}