Re: [PATCH net] veth: Orphan skb before GRO

2018-09-16 Thread David Miller
From: Toshiaki Makita Date: Fri, 14 Sep 2018 13:33:44 +0900 > GRO expects skbs not to be owned by sockets, but when XDP is enabled veth > passed skbs owned by sockets. It caused corrupted sk_wmem_alloc. > > Paolo Abeni reported the following splat: ... > In order to avoid this, orphan the skb b

Re: [PATCH net] veth: Orphan skb before GRO

2018-09-14 Thread Paolo Abeni
On Fri, 2018-09-14 at 13:33 +0900, Toshiaki Makita wrote: > GRO expects skbs not to be owned by sockets, but when XDP is enabled veth > passed skbs owned by sockets. It caused corrupted sk_wmem_alloc. > > Paolo Abeni reported the following splat: > > [ 362.098904] refcount_t overflow at skb_set_

[PATCH net] veth: Orphan skb before GRO

2018-09-13 Thread Toshiaki Makita
GRO expects skbs not to be owned by sockets, but when XDP is enabled veth passed skbs owned by sockets. It caused corrupted sk_wmem_alloc. Paolo Abeni reported the following splat: [ 362.098904] refcount_t overflow at skb_set_owner_w+0x5e/0xa0 in iperf3[1644], uid/euid: 0/0 [ 362.108239] WARNI