Re: [Patch net] mlx5: fix get_ip_proto()

2018-11-30 Thread David Miller
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 packe

Re: [Patch net] mlx5: fix get_ip_proto()

2018-11-29 Thread Saeed Mahameed
On Thu, Nov 29, 2018 at 5:13 AM Tariq Toukan wrote: > > > > On 29/11/2018 1:04 AM, Cong Wang wrote: > > 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

Re: [Patch net] mlx5: fix get_ip_proto()

2018-11-29 Thread Tariq Toukan
On 29/11/2018 1:04 AM, Cong Wang wrote: > 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: Ala

[Patch net] mlx5: fix get_ip_proto()

2018-11-28 Thread Cong Wang
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-