Re: [PATCH bpf] xsk: do not remove umem from netdevice on fall-back to copy-mode

2019-02-12 Thread Daniel Borkmann
On 02/12/2019 08:51 AM, Björn Töpel wrote: > From: Björn Töpel > > Commit c9b47cc1fabc ("xsk: fix bug when trying to use both copy and > zero-copy on one queue id") stores the umem into the netdev._rx > struct. However, the patch incorrectly removed the umem from the > netdev._rx struct when user

[PATCH bpf] xsk: do not remove umem from netdevice on fall-back to copy-mode

2019-02-11 Thread Björn Töpel
From: Björn Töpel Commit c9b47cc1fabc ("xsk: fix bug when trying to use both copy and zero-copy on one queue id") stores the umem into the netdev._rx struct. However, the patch incorrectly removed the umem from the netdev._rx struct when user-space passed "best-effort" mode (i.e. select the faste