Re: [PATCH net] nsh: set mac len based on inner packet

2018-07-12 Thread David Miller
From: Willem de Bruijn Date: Wed, 11 Jul 2018 12:00:44 -0400 > From: Willem de Bruijn > > When pulling the NSH header in nsh_gso_segment, set the mac length > based on the encapsulated packet type. > > skb_reset_mac_len computes an offset to the network header, which > here still points to the

Re: [PATCH net] nsh: set mac len based on inner packet

2018-07-12 Thread Jiri Benc
On Wed, 11 Jul 2018 12:00:44 -0400, Willem de Bruijn wrote: > From: Willem de Bruijn > > When pulling the NSH header in nsh_gso_segment, set the mac length > based on the encapsulated packet type. > > skb_reset_mac_len computes an offset to the network header, which > here still points to the ou

[PATCH net] nsh: set mac len based on inner packet

2018-07-11 Thread Willem de Bruijn
From: Willem de Bruijn When pulling the NSH header in nsh_gso_segment, set the mac length based on the encapsulated packet type. skb_reset_mac_len computes an offset to the network header, which here still points to the outer packet: > skb_reset_network_header(skb); > [...] >