Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2739160pxj; Mon, 31 May 2021 09:31:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/hHj4Fo440vCJIIR78pvQgdY2n9GkepGE6FXX8QqBG4PzDiu69f1mVFw9papWNn3azKS3 X-Received: by 2002:a05:6e02:587:: with SMTP id c7mr18124012ils.24.1622478675507; Mon, 31 May 2021 09:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622478675; cv=none; d=google.com; s=arc-20160816; b=tRcLkFiVjZOAXFdxsiU8mFcMC58UoVITXNleW6ubqF927+i7jA0B2NcDzeLUF/NWYz ROzjig4VwwfK9CGYhpaBpXOwy4jsoA8093hGb2vFdNjBAMd32cSO/YKmcrDUjR8ygQIs UtjblWTlO9eFhTcf/ATsMr+HC/APfq8ECl2W4gpHRQhiLxI6iuuCxhoIIWGk5vz8H1pC cEdN7I8s6JyJP77hKtkZVwAuUNZmH1OAUHmmiOvHMxbcmhoc38RlSR6nxuiSRkzvvvoa 99PGLtMLuiP2MG/WR/HxHqL8Xv22AoNj8sYqHIjZ8k1E47PkSxgFopQntoHLA82fVQbg AdoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6JcC6U8WzbmVHTsdOQJNdL5KEawMeWfPPMRfdeMaW84=; b=qlcAgzmdZzpPRd2Bg6h8i+wDN+U7PhsPuCmeeZqGkTvMT8ltVmYLZXvrcEgS/UyDm6 sSjTdq2OSUjJ/2fRceycoiyOWImu+xE1EXuZcxi4YDbkKztWuHVpYMQkPhvYfuAJDaKo R0cKPNcvELStj0W22OcwCwaORhhEmDE/WMIoN7ksMraRaJMvkDIPLMWC7J9wWe28twy2 bCjlGO/+h5G10uNKOBPrqjPSVcYZ/e7simF0ySZnK009CPREyaZqbKcS7OLiK1iMKHbW iFA27m6cc/1w4YNiJC7633eNOfL4Wy7VuIwTBysRSP0+R9dAS9UxRGszeJNIkqcbCixc BUEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bmdclGkU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si13610279iln.143.2021.05.31.09.30.58; Mon, 31 May 2021 09:31:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bmdclGkU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233791AbhEaQaf (ORCPT + 99 others); Mon, 31 May 2021 12:30:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:40794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232221AbhEaOpj (ORCPT ); Mon, 31 May 2021 10:45:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3005761C88; Mon, 31 May 2021 13:55:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622469336; bh=RzBQ5/IUAAheWWePphH0Y5uFrcrszMTSwqfnXs89aBE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bmdclGkUBEkj7MCCkRQ4u+58ScFG0ZryJlkJxV8GCvQxKjHIUa82apoWX0h+LFCBZ Bom/ENJHnRRXYNRleS81OPZ9jxxO3PbIneyIr9qspORszp37poxMujpBdxtk4ejAQ5 EuOF6nhnk5PSPPtTF90R4fq6UXU4ByRryujCGdtQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paolo Abeni , Mat Martineau , "David S. Miller" Subject: [PATCH 5.12 159/296] mptcp: drop unconditional pr_warn on bad opt Date: Mon, 31 May 2021 15:13:34 +0200 Message-Id: <20210531130709.212749806@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130703.762129381@linuxfoundation.org> References: <20210531130703.762129381@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paolo Abeni commit 3812ce895047afdb78dc750a236515416e0ccded upstream. This is a left-over of early day. A malicious peer can flood the kernel logs with useless messages, just drop it. Fixes: f296234c98a8 ("mptcp: Add handling of incoming MP_JOIN requests") Signed-off-by: Paolo Abeni Signed-off-by: Mat Martineau Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/mptcp/options.c | 1 - 1 file changed, 1 deletion(-) --- a/net/mptcp/options.c +++ b/net/mptcp/options.c @@ -127,7 +127,6 @@ static void mptcp_parse_option(const str memcpy(mp_opt->hmac, ptr, MPTCPOPT_HMAC_LEN); pr_debug("MP_JOIN hmac"); } else { - pr_warn("MP_JOIN bad option size"); mp_opt->mp_join = 0; } break;