Re: [PATCH net-next (fix) 1/2] net: fix GSO in bpf_lwt_push_ip_encap

2019-03-05 Thread David Ahern
On 3/4/19 5:27 PM, Peter Oskolkov wrote: > GSO needs inner headers and inner protocol set properly to work. > > skb->inner_mac_header: skb_reset_inner_headers() assigns the current > mac header value to inner_mac_header; but it is not set at the point, > so we need to call skb_reset_inner_mac_head

[PATCH net-next (fix) 1/2] net: fix GSO in bpf_lwt_push_ip_encap

2019-03-04 Thread Peter Oskolkov
GSO needs inner headers and inner protocol set properly to work. skb->inner_mac_header: skb_reset_inner_headers() assigns the current mac header value to inner_mac_header; but it is not set at the point, so we need to call skb_reset_inner_mac_header, otherwise gre_gso_segment fails: it does i