mptcp: avoid error message on infinite mapping
authorPaolo Abeni <pabeni@redhat.com>
Tue, 25 May 2021 21:23:12 +0000 (14:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2021 22:56:20 +0000 (15:56 -0700)
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>
net/mptcp/subflow.c

index a5ede35..bde6be7 100644 (file)
@@ -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;
        }