summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/test_lpm_map.c
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2019-02-21 13:07:38 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2019-02-21 16:32:25 +0100
commit11fe9262ed226c127f67ca4bd85977b22589b68a (patch)
treebe203990ab00621f32769d7f43db841d2adc520e /tools/testing/selftests/bpf/test_lpm_map.c
parentdf1a2cb7c74b3d3abc8d8c2d690f82c8ebc3490a (diff)
downloadblackbird-op-linux-11fe9262ed226c127f67ca4bd85977b22589b68a.tar.gz
blackbird-op-linux-11fe9262ed226c127f67ca4bd85977b22589b68a.zip
Revert "xsk: simplify AF_XDP socket teardown"
This reverts commit e2ce3674883ecba2605370404208c9d4a07ae1c3. It turns out that the sock destructor xsk_destruct was needed after all. The cleanup simplification broke the skb transmit cleanup path, due to that the umem was prematurely destroyed. The umem cannot be destroyed until all outstanding skbs are freed, which means that we cannot remove the umem until the sk_destruct has been called. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/test_lpm_map.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud