diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2019-02-21 13:07:38 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-02-21 16:32:25 +0100 |
commit | 11fe9262ed226c127f67ca4bd85977b22589b68a (patch) | |
tree | be203990ab00621f32769d7f43db841d2adc520e /tools | |
parent | df1a2cb7c74b3d3abc8d8c2d690f82c8ebc3490a (diff) |
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')
0 files changed, 0 insertions, 0 deletions