Re: [PATCH bpf] xsk: Check if a queue exists during umem setup

2019-01-15 Thread Daniel Borkmann
On 01/15/2019 10:19 AM, Kazimierczak, Krzysztof wrote: > From 6cbcfa3d0909bc27af0be6122dc6bfbfa4c9269e Mon Sep 17 00:00:00 2001 > From: Krzysztof Kazimierczak > Date: Thu, 10 Jan 2019 20:29:02 +0100 > Subject: [PATCH bpf] xsk: Check if a queue exists during umem setup

Re: [PATCH bpf] xsk: Check if a queue exists during umem setup

2019-01-15 Thread Björn Töpel
Den tis 15 jan. 2019 kl 10:50 skrev Kazimierczak, Krzysztof : > > From 6cbcfa3d0909bc27af0be6122dc6bfbfa4c9269e Mon Sep 17 00:00:00 2001 > From: Krzysztof Kazimierczak > Date: Thu, 10 Jan 2019 20:29:02 +0100 > Subject: [PATCH bpf] xsk: Check if a queue exists during umem s

[PATCH bpf] xsk: Check if a queue exists during umem setup

2019-01-15 Thread Kazimierczak, Krzysztof
>From 6cbcfa3d0909bc27af0be6122dc6bfbfa4c9269e Mon Sep 17 00:00:00 2001 From: Krzysztof Kazimierczak Date: Thu, 10 Jan 2019 20:29:02 +0100 Subject: [PATCH bpf] xsk: Check if a queue exists during umem setup In the xdp_umem_assign_dev() path, the xsk code does not check if a queue for which u

Re: [PATCH bpf] xsk: Check if a queue exists during umem setup

2019-01-14 Thread Björn Töpel
On 2019-01-14 18:50, Krzysztof Kazimierczak wrote: From: Krzysztof Kazimierczak In the xdp_umem_assign_dev() path, the xsk code does not check if a queue for which umem is to be created exists. It leads to a situation where umem is not assigned to any Tx/Rx queue of a netdevice, without notifyi