From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Nault Subject: Re: [PATCH net] pppoe: fix reception of frames with no mac header Date: Fri, 14 Sep 2018 16:35:00 +0200 Message-ID: <20180914143459.GC1507@alphalink.fr> References: <274ac54fa02052104201d4738a6326a637e87a83.1536935190.git.g.nault@alphalink.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Potapenko , Michal Ostrowski , Eric Dumazet To: netdev@vger.kernel.org Return-path: Received: from zimbra.alphalink.fr ([217.15.80.77]:39442 "EHLO zimbra.alphalink.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbeINTtt (ORCPT ); Fri, 14 Sep 2018 15:49:49 -0400 Content-Disposition: inline In-Reply-To: <274ac54fa02052104201d4738a6326a637e87a83.1536935190.git.g.nault@alphalink.fr> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Sep 14, 2018 at 04:28:05PM +0200, Guillaume Nault wrote: > pppoe_rcv() needs to look back at the Ethernet header in order to > lookup the PPPoE session. Therefore we need to ensure that the mac > header is big enough to contain an Ethernet header. Otherwise > eth_hdr(skb)->h_source might access invalid data. > Forgot to Cc Alexander :/ Sorry... BTW, thanks for your first analysis.