From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932530AbdABEH6 (ORCPT ); Sun, 1 Jan 2017 23:07:58 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:51058 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750707AbdABEH5 (ORCPT ); Sun, 1 Jan 2017 23:07:57 -0500 Date: Sun, 01 Jan 2017 23:07:53 -0500 (EST) Message-Id: <20170101.230753.2076894379858224939.davem@davemloft.net> To: ian.kumlien@gmail.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] Update pptp handling to avoid null pointer deref. From: David Miller In-Reply-To: <20170101231936.5905-1-ian.kumlien@gmail.com> References: <20170101231936.5905-1-ian.kumlien@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 01 Jan 2017 19:08:45 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ian Kumlien Date: Mon, 2 Jan 2017 00:19:36 +0100 > __skb_flow_dissect can be called with a skb or a data packet, either > can be NULL. All calls seems to have been moved to __skb_header_pointer > except the pptp handling which is still calling skb_header_pointer. > > skb_header_pointer will use skb->data and thus: ... > --- > > Signed-off-by: Ian Kumlien You need to fix some parts of your submission. Do not put the signoff after the "---", git will remove all text after that "---" from the commit message. You must include a proper "Fixes: " tag which indicates which change introduced this regression. This is critical for analyzing your fix and also for figuring out which -stable releases your fix should be backported to. In this case the guilty commit is ab10dccb1160 ("rps: Inspect PPTP encapsulated by GRE to get flow hash")