From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [Patch net] mlx5: fix get_ip_proto() Date: Fri, 30 Nov 2018 17:20:16 -0800 (PST) Message-ID: <20181130.172016.880515853926485892.davem@davemloft.net> References: <20181128230405.4220-1-xiyou.wangcong@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, alaa@mellanox.com, ogerlitz@mellanox.com, saeedm@mellanox.com To: xiyou.wangcong@gmail.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:36872 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbeLAMbc (ORCPT ); Sat, 1 Dec 2018 07:31:32 -0500 In-Reply-To: <20181128230405.4220-1-xiyou.wangcong@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Cong Wang Date: Wed, 28 Nov 2018 15:04:05 -0800 > IP header is not necessarily located right after struct ethhdr, > there could be multiple 802.1Q headers in between, this is why > we call __vlan_get_protocol(). > > Fixes: fe1dc069990c ("net/mlx5e: don't set CHECKSUM_COMPLETE on SCTP packets") > Cc: Alaa Hleihel > Cc: Or Gerlitz > Cc: Saeed Mahameed > Signed-off-by: Cong Wang Applied.