Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2662135pxj; Mon, 31 May 2021 07:41:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+tpx8CVhky+IY0npBnAleO0XTpiIiIiP9cvVvgni2PVinUyPAgH5C9pnesFNGshqlyFcS X-Received: by 2002:a17:906:f84:: with SMTP id q4mr24265766ejj.442.1622472092459; Mon, 31 May 2021 07:41:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622472092; cv=none; d=google.com; s=arc-20160816; b=CNhid3SfE3uwSkBKv3CwAYAokzylCGrY07Gf5SBX9DGnxFDoI6vtf9RCJZd46o389P HWirX0kepH13FiIumYQvjk4BuMAYmtirAqSG6GGkuKbARrXVfruiY4A/4DQ+ccUu3/Ko zg/9f/ifiQvTFRmdRrPf9YxaVbKJHpo4/vjXxqpRV41b5ITszDhSs9KW4IzCt5j8BdWs aOfTGRy4ktYdj8tpEd0pwQ1l6vgt0Ryxn55PnLqbOPxdpqcJq565W5dKVTt1hYbUBF8z 0V4Pwcuv47q6k/5LAibVfFBIXstW9A4mIH0m0e4pwyUQuLq5MTtNBmQLohBkG+SO1EkL U3yQ== 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=n1rvJ8p1O0FuL97VdBjuaG6Ypgv0wj+SxEUFJgG3bxiSY5dKcVazXyD7jOs/nx985J tgHg27BuItmmZYOIFq8HjDGnb5UKOLijLeOGqItlQAz/bam/Ae8uJbet7fSvTGTCi3pq LlLDlnQTFBub1Di+iwlpUF3rbGnP9IriPoo0/caEicPKdzxK1xAxkh5XqDw3vkY8PATV 9jdl1SvHmMFdAt4tViEbC9T9XBxEGN7lcPV6GW1elDIA2Z8Yh+lu/R82BqRH9b92njwF dUwk661MDq9KdrsgLiVptjTAYVIdBa5oBggrxKKKZKbUx4PGx+7jQKj/7ulPehQqxySJ 0KPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LKy+TXGv; 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 t1si11358233edt.171.2021.05.31.07.41.10; Mon, 31 May 2021 07:41:32 -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=LKy+TXGv; 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 S234013AbhEaOlz (ORCPT + 99 others); Mon, 31 May 2021 10:41:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:58840 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231578AbhEaN6C (ORCPT ); Mon, 31 May 2021 09:58:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E6E4F6193A; Mon, 31 May 2021 13:35:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622468129; bh=RzBQ5/IUAAheWWePphH0Y5uFrcrszMTSwqfnXs89aBE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LKy+TXGvCD4qes2xdxPYOAOn0LkMphdRKij6K3fk4YCL405gjH1Qgli4owqV4FKbS LmYn56MUjCKgmMaxk9QTCZgiCNwQjyJfHvEkEL0PoKVnkXRcNYtTDTjSTpMNQZpzn3 QjVfCh4SWiUSgVeTS9UpioVpEt9Vvd/MgHplP/Ng= 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.10 128/252] mptcp: drop unconditional pr_warn on bad opt Date: Mon, 31 May 2021 15:13:13 +0200 Message-Id: <20210531130702.363174029@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130657.971257589@linuxfoundation.org> References: <20210531130657.971257589@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;