Re: [PATCH bpf 0/2] libbpf: fixes for AF_XDP teardown
From: Alexei Starovoitov <hidden>
Date: 2019-05-05 06:30:18
Also in:
bpf
From: Alexei Starovoitov <hidden>
Date: 2019-05-05 06:30:18
Also in:
bpf
On Tue, Apr 30, 2019 at 8:38 AM Jonathan Lemon [off-list ref] wrote:
On 30 Apr 2019, at 5:45, Björn Töpel wrote:quoted
William found two bugs, when doing socket teardown within the same process. The first issue was an invalid munmap call, and the second one was an invalid XSKMAP cleanup. Both resulted in that the process kept references to the socket, which was not correctly cleaned up. When a new socket was created, the bind() call would fail, since the old socket was still lingering, refusing to give up the queue on the netdev. More details can be found in the individual commits.Reviewed-by: Jonathan Lemon <redacted>
Applied. Thanks!