Re: [PATCH bpf v3] xdp: Handle device unregister for devmap_hash map type

2019-10-19 Thread Toke Høiland-Jørgensen
Martin Lau writes: > On Fri, Oct 18, 2019 at 09:44:18PM +0200, Toke Høiland-Jørgensen wrote: >> It seems I forgot to add handling of devmap_hash type maps to the device >> unregister hook for devmaps. This omission causes devices to not be >> properly released, which causes hangs. >> >> Fix this

Re: [PATCH bpf v3] xdp: Handle device unregister for devmap_hash map type

2019-10-18 Thread Martin Lau
On Fri, Oct 18, 2019 at 09:44:18PM +0200, Toke Høiland-Jørgensen wrote: > It seems I forgot to add handling of devmap_hash type maps to the device > unregister hook for devmaps. This omission causes devices to not be > properly released, which causes hangs. > > Fix this by adding the missing handl

[PATCH bpf v3] xdp: Handle device unregister for devmap_hash map type

2019-10-18 Thread Toke Høiland-Jørgensen
It seems I forgot to add handling of devmap_hash type maps to the device unregister hook for devmaps. This omission causes devices to not be properly released, which causes hangs. Fix this by adding the missing handler. Fixes: 6f9d451ab1a3 ("xdp: Add devmap_hash map type for looking up devices by