From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH v2 0/4] Check size of packets before sending Date: Mon, 29 Jan 2018 11:37:08 -0500 (EST) Message-ID: <20180129.113708.981601083065136615.davem@davemloft.net> References: <87607qdpdf.fsf@linkitivity.dja.id.au> <1516890904.3715.50.camel@gmail.com> <87h8r5s63p.fsf@linkitivity.dja.id.au> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: eric.dumazet@gmail.com, netdev@vger.kernel.org, jasowang@redhat.com, pshelar@ovn.org, marcelo.leitner@gmail.com, Manish.Chopra@cavium.com, dev@openvswitch.org To: dja@axtens.net Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:44950 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475AbeA2QhK (ORCPT ); Mon, 29 Jan 2018 11:37:10 -0500 In-Reply-To: <87h8r5s63p.fsf@linkitivity.dja.id.au> Sender: netdev-owner@vger.kernel.org List-ID: From: Daniel Axtens Date: Mon, 29 Jan 2018 14:20:58 +1100 > OK, so how about: > > - first, a series that introduces skb_gso_validate_mac_len and uses it > in bnx2x. This should be backportable without difficulty. > > - then, a series that wires skb_gso_validate_mac_len into the core - > validate_xmit_skb for instance, and reverts the bnx2x fix. This would > not need to be backported. > > If that's an approach we can agree on, I am ready to send it when > net-next opens again. Please send the bnx2x specific fix now, thank you.