Re: [PATCH net v2] tun: correct header offsets in napi frags mode

2020-06-01 Thread David Miller
From: Willem de Bruijn Date: Sat, 30 May 2020 15:41:31 -0400 > From: Willem de Bruijn > > Tun in IFF_NAPI_FRAGS mode calls napi_gro_frags. Unlike netif_rx and > netif_gro_receive, this expects skb->data to point to the mac layer. > > But skb_probe_transport_header, __skb_get_hash_symmetric, an

[PATCH net v2] tun: correct header offsets in napi frags mode

2020-05-30 Thread Willem de Bruijn
From: Willem de Bruijn Tun in IFF_NAPI_FRAGS mode calls napi_gro_frags. Unlike netif_rx and netif_gro_receive, this expects skb->data to point to the mac layer. But skb_probe_transport_header, __skb_get_hash_symmetric, and xdp_do_generic in tun_get_user need skb->data to point to the network hea