From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] ip_tunnel: be careful when accessing the inner header Date: Mon, 24 Sep 2018 12:29:05 -0700 (PDT) Message-ID: <20180924.122905.1359211984308549434.davem@davemloft.net> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, xiyou.wangcong@gmail.com, pshelar@ovn.org To: pabeni@redhat.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:51182 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726269AbeIYBcs (ORCPT ); Mon, 24 Sep 2018 21:32:48 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: From: Paolo Abeni Date: Mon, 24 Sep 2018 15:48:19 +0200 > Cong noted that we need the same checks introduced by commit 76c0ddd8c3a6 > ("ip6_tunnel: be careful when accessing the inner header") > even for ipv4 tunnels. > > Fixes: c54419321455 ("GRE: Refactor GRE tunneling code.") > Suggested-by: Cong Wang > Signed-off-by: Paolo Abeni > --- > Note: the bug is probably present even before the commit mentioned in > the fixes tag, but porting this change on older kernel is likely worthless Applied and queued up for -stable.