summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2024-06-04 14:29:25 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2024-06-05 09:42:30 +0200
commit7fcf26b315bbb728036da0862de6b335da83dff2 (patch)
tree7d19b4d26135482b39c0febf4f7ef56fe0eec936 /Documentation
parentd0d1df8ba18abc57f28fb3bc053b2bf319367f2c (diff)
Revert "xsk: Support redirect to any socket bound to the same umem"
This reverts commit 2863d665ea41282379f108e4da6c8a2366ba66db. This patch introduced a potential kernel crash when multiple napi instances redirect to the same AF_XDP socket. By removing the queue_index check, it is possible for multiple napi instances to access the Rx ring at the same time, which will result in a corrupted ring state which can lead to a crash when flushing the rings in __xsk_flush(). This can happen when the linked list of sockets to flush gets corrupted by concurrent accesses. A quick and small fix is not possible, so let us revert this for now. Reported-by: Yuval El-Hanany <YuvalE@radware.com> Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/xdp-newbies/8100DBDC-0B7C-49DB-9995-6027F6E63147@radware.com Link: https://lore.kernel.org/bpf/20240604122927.29080-2-magnus.karlsson@gmail.com
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions