Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2056052pxu; Tue, 24 Nov 2020 16:04:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIQlcRFRkN7OMQV5t7BFj+ahzwZnITF/C0rHeChFwLcQpYGqWOZBRDWhI+Gb34+mlV5rnK X-Received: by 2002:a05:6402:d08:: with SMTP id eb8mr1042503edb.271.1606262669592; Tue, 24 Nov 2020 16:04:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606262669; cv=none; d=google.com; s=arc-20160816; b=w7kmMjyKSj2xaCDmAUDla6HWDkb3Qk0A9wCsxzwT5HNqLqZqr9f3oUMBFhJttsk4rL y3BcMIxXwxaBuBa3tnObCyh8EdVY17dBVkFspkUkmWf0gdAcQe8AbnW9HrG/sZSnDPpu /NZAmZFWNHgn1d0jzMDrw7oJz/adWLYZ+G/oJjjF4rlCH9pwAlGflNAGt9cnUcWB6lu/ IcY0A29srwmJ3VUhy75p+EgxOYr8kyGpJVpzyDrpY5M5OZbzFtM4JlGZ/SfuASIhA2ZG 1lTZhSQcCJsxyyHb0vtcjBFoL6GFQWhXtNtGzhgx4mY2LoEjrJ3SuC7obMyCB0Qq+/qJ KPzg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=fkG/bjIN9uSPISoeWJbvJB3zpHAx6keBAdYdwiB8pks=; b=Mjxe6neQf+CiEai17f+M3doW3vMg2cRHTHey5OKgiY9UnqUpohM56OfRoaBF/+4KAl DkfylFys/MSgu8qghUh/9fNLarNlsN1CKIelqtIVDRQS0jHSj4EZKUJCpwFWooigRKCa RHfJsyRd4bDz+DXz6sUW/OamP8wTRZHEqHz+Wm3FsIXVeP/3B+js8QMe7Gt2pEIbz3hV 6zPgCbhGmvJix9D++s8N2U6a91kPIEQHfAZVSIyULx5DMWd0zK6tZON4pOBxuHmRliek ADlB16cEq1KyxVsAMWDlbLxv9o69DuoMTod50pw7Zh5v4Cx0e6tDChDgD22+zgzxQ+Bf dJ5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IV98qter; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f23si284128ejc.182.2020.11.24.16.04.06; Tue, 24 Nov 2020 16:04:29 -0800 (PST) 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=@kernel.org header.s=default header.b=IV98qter; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388963AbgKXWLV (ORCPT + 99 others); Tue, 24 Nov 2020 17:11:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:49038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728523AbgKXWLV (ORCPT ); Tue, 24 Nov 2020 17:11:21 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6E26A20715; Tue, 24 Nov 2020 22:11:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606255880; bh=2dwrTnBapMpeeKOlbFjCouY1RJBlpScC7T+FqQWSpjo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IV98qterQcQMxMoALBJYPCpjEbCIXf+g5DQQkP6ym0AhK77rDsK769R0GsezSZWBq g+AGgdxu7OPiW99q555tMlIFoqE1C45PvxjWn2b9qsMJHj527810ehoumvuDjBmuLH PWAm71QLH5pKQkFLg9uorIfMRIJMWppCznzdfKCE= Date: Tue, 24 Nov 2020 14:11:19 -0800 From: Jakub Kicinski To: Heiner Kallweit Cc: David Miller , Eric Dumazet , "netdev@vger.kernel.org" , Linux Kernel Mailing List Subject: Re: [PATCH net-next] net: warn if gso_type isn't set for a GSO SKB Message-ID: <20201124141119.49972889@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <97c78d21-7f0b-d843-df17-3589f224d2cf@gmail.com> References: <97c78d21-7f0b-d843-df17-3589f224d2cf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 21 Nov 2020 00:22:20 +0100 Heiner Kallweit wrote: > In bug report [0] a warning in r8169 driver was reported that was > caused by an invalid GSO SKB (gso_type was 0). See [1] for a discussion > about this issue. Still the origin of the invalid GSO SKB isn't clear. > > It shouldn't be a network drivers task to check for invalid GSO SKB's. > Also, even if issue [0] can be fixed, we can't be sure that a > similar issue doesn't pop up again at another place. > Therefore let gso_features_check() check for such invalid GSO SKB's. > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=209423 > [1] https://www.spinics.net/lists/netdev/msg690794.html > > Signed-off-by: Heiner Kallweit Applied, thanks!