Re: [PATCH bpf] xdp: check device pointer before clearing

From: Jonathan Lemon
Date: Mon Jun 10 2019 - 17:08:02 EST


On 7 Jun 2019, at 10:27, Ilya Maximets wrote:

We should not call 'ndo_bpf()' or 'dev_put()' with NULL argument.

Fixes: c9b47cc1fabc ("xsk: fix bug when trying to use both copy and zero-copy on one queue id")
Signed-off-by: Ilya Maximets <i.maximets@xxxxxxxxxxx>
Acked-by: Jonathan Lemon <jonathan.lemon@xxxxxxxxx>