Merge branch 'af_xdp-fixes'
authorAlexei Starovoitov <ast@kernel.org>
Sun, 5 May 2019 06:26:37 +0000 (23:26 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 5 May 2019 06:26:38 +0000 (23:26 -0700)
Björn Töpel says:

====================
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.

Thanks,
Björn
====================

Reviewed-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

Trivial merge