From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamal Hadi Salim Subject: Re: [PATCH net 3/3] net: sched: ife: check on metadata length Date: Thu, 19 Apr 2018 08:10:14 -0400 Message-ID: References: <20180418213534.6215-1-aring@mojatatu.com> <20180418213534.6215-4-aring@mojatatu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: davem@davemloft.net, Cong Wang , =?UTF-8?B?SmnFmcOtIFDDrXJrbw==?= , Yuval Mintz , netdev@vger.kernel.org, kernel@mojatatu.com To: yotam gigi , Alexander Aring Return-path: Received: from mail-it0-f66.google.com ([209.85.214.66]:51760 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751865AbeDSMKR (ORCPT ); Thu, 19 Apr 2018 08:10:17 -0400 Received: by mail-it0-f66.google.com with SMTP id o20-v6so5170007itc.1 for ; Thu, 19 Apr 2018 05:10:16 -0700 (PDT) In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 19/04/18 01:37 AM, yotam gigi wrote: > On Thu, Apr 19, 2018 at 12:35 AM, Alexander Aring wrote: >> This patch checks if sk buffer is available to dererence ife header. If >> not then NULL will returned to signal an malformed ife packet. This >> avoids to crashing the kernel from outside. >> >> Signed-off-by: Alexander Aring > > Reviewed-by: Yotam Gigi > Acked-by: Jamal Hadi Salim cheers, jamal