Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp806065pxy; Thu, 22 Apr 2021 14:00:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJmYo7a0SadghaxjZfNTF1DSAxkRlM8hzoUpLmgyTzpHhJetzLNsvQe6Nnioz99SYQDo8O X-Received: by 2002:a05:6402:57:: with SMTP id f23mr428557edu.323.1619125232185; Thu, 22 Apr 2021 14:00:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619125232; cv=none; d=google.com; s=arc-20160816; b=MSl2rESJClr+Ck7AU8omnZfUfg6oLl+ccqeeJA9ve4TsvSYmXc0UQY+Jp+P4TGODC9 UOXkaANugMQueTDC7mWhwjsRc/TPN/SOR+TjUmxPTnIVMV8ZMYDERZdNwoTMARo4o3Z3 dR8SK+H8jTa0jr66LF8d++xQrZec59cfmwzSh+CcXiwgbg3ov+PLi9CwfHo5gt/dOlUJ 9jWRxjHAMpD0+eHxqrWxOWqeCFwiIZfQlIGVHeYgXdHGNhjGIK57jZ46jofyS185hJsl ATFhxARl3dIFOe04yh4X+/hj29JecjJqJNKLEq5bET8yN37sI8lxgDf5xHmEkDN49X6N o2zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Rcbt/IVdLUggvz4+msojAAS7f+QcRf8lQX/rCzIQBDM=; b=yZMA/l6XloJsfyWESlWqHu4XMuSIWaluHCCLkjbNI55bWUw+Zrj57EE36v4llySH9W wvXBwzKbVDX+Ecc3Ikf4lvdYy4reK9OlLWvtJKkBzSynaqMBvksfZrAQaJ2HisXP28mQ AvxsSeSa9GhWvuj6yRQ9N0/W/epNOrRpS1tsH72afttJMFRPA9/XpQNmtgwKIh1SKTGt Yu/aWjwwZMaRuiMchmbdQgxe+kWkp2IUt5vGSgcEGBzopWLC0B8MfspdopsL5K6pOZIZ uD3Ij9jqR8zqAtYWkf5HPRJG55yqchgy/apIJf6dLSY0Y/1Wz3nLe36Hd52hjCCv3A9F OF/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@philpotter-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=G5M9KpmP; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d26si3269049ejt.459.2021.04.22.14.00.08; Thu, 22 Apr 2021 14:00: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=@philpotter-co-uk.20150623.gappssmtp.com header.s=20150623 header.b=G5M9KpmP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236896AbhDVU7B (ORCPT + 99 others); Thu, 22 Apr 2021 16:59:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239430AbhDVU7A (ORCPT ); Thu, 22 Apr 2021 16:59:00 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31E42C061756 for ; Thu, 22 Apr 2021 13:58:24 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id s7so46036598wru.6 for ; Thu, 22 Apr 2021 13:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philpotter-co-uk.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Rcbt/IVdLUggvz4+msojAAS7f+QcRf8lQX/rCzIQBDM=; b=G5M9KpmPBgHjMVnw9ZZkTydNcwRMwEDyabT64whiNV1C7h8KDSK9ZZliZnIPiWy1s3 Ra7UtwLiD9yNnRxPFsN/2pJGVnO6aAxol/XBvoVOAJyAsE4YJyj/1DtuhPDV4dgpI8oR kd5SH+gF/BTnxr8sn//6G0ODL//1MvwE4Q0AX0lU/kPu15h1g/j66NtN6xjZRceKlOhx I+e/qMOdu/DMufo0X9MBZ4QnLrCrCSfVFgqEossPfG0/sFGfQyf9KU0LevZid+MVHU+j 3oTrJRGAvmoRDdHVxAZ5dzD9HGWYapNZVQLbQkfQgHUUMQhpJ+pOB+ZBxYdJ5pLI/GmU hsYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Rcbt/IVdLUggvz4+msojAAS7f+QcRf8lQX/rCzIQBDM=; b=TgtuynIk3najJmMxHEXR68gf29Ydy5ycurhasFVVDusaKnlBbferfYUGeLvEoB15AQ xVVICkIdpRdBMB8cYGTQP3RdLmMUReA8QIvS8EjDOw7iO8cJa6r7zTpFbXwG31Q28cYh 1G/7R29V18byU2T2eZ9IpHBabLyz0fXkk0ffy3bMt+ynFf4r62BcOXyUHZ4KC0dw8Eby WrYzZOisiQ7sxoq+TDzXPny03ghyyWGZGNTZdvaHezA9j5JE9XI7hbcBNL93W9tjnjND eMl1OA6ShvB+1i3H/hvEkWSmTpABcT629hX3PeSvTl40rUlgl1eSFXBypTCBAuBWrSeo /dOw== X-Gm-Message-State: AOAM531ukPlTPpnyPHLSHUpSxhfDxbRoo58v0tIUp54/+rILNtU0uZTv iCAtSz5FfFFKmZNYCrEYYdODMmn+vrq+TT4GqJt3HQ== X-Received: by 2002:adf:bc49:: with SMTP id a9mr313764wrh.109.1619125102976; Thu, 22 Apr 2021 13:58:22 -0700 (PDT) Received: from equinox (2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.a.1.e.e.d.f.d.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:dfde:e1a0::2]) by smtp.gmail.com with ESMTPSA id t63sm4970352wma.20.2021.04.22.13.58.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Apr 2021 13:58:22 -0700 (PDT) Date: Thu, 22 Apr 2021 21:58:20 +0100 From: Phillip Potter To: Eric Dumazet Cc: Florian Westphal , Sabrina Dubroca , David Miller , Jakub Kicinski , netdev , LKML Subject: Re: [PATCH] net: geneve: modify IP header check in geneve6_xmit_skb Message-ID: References: <20210421231100.7467-1-phil@philpotter.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 22, 2021 at 08:43:57AM +0200, Eric Dumazet wrote: > On Thu, Apr 22, 2021 at 1:11 AM Phillip Potter wrote: > > > > Modify the check in geneve6_xmit_skb to use the size of a struct iphdr > > rather than struct ipv6hdr. This fixes two kernel selftest failures > > introduced by commit 6628ddfec758 > > ("net: geneve: check skb is large enough for IPv4/IPv6 header"), without > > diminishing the fix provided by that commit. > > > > Reported-by: kernel test robot > > Signed-off-by: Phillip Potter > > SGTM, but _please_ add a Fixes: tag, since stable teams now depend on this, > more than human parsing the changelog. > > Fixes: 6628ddfec758 ("net: geneve: check skb is large enough for > IPv4/IPv6 header") > Dear Eric, Thank you for your feedback, I will make sure the new patch has the Fixes: tag in it. Regards, Phil