]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita74753cacc6dc5405a24e68cfc18db4ed80afbc7
tree578931a064200ac50725b386d33f451a00c60d5b
parent8a57cbd1905acd494456e0d96192098c71f4d8d0
parent6fd152d6aaa197db0f1713b2a177a53af6d6fdb2
Merge branch 'af_xdp-fixes'

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>