diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2019-12-19 16:20:49 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-12-19 16:20:53 +0100 |
commit | ca8d0fa7cfb8abc4f623d49df210e0b81b32f626 (patch) | |
tree | bc5d84b8543985f1b7c03f1ff1a2c6edc0306cdd /mm/mincore.c | |
parent | e47304232b373362228bf233f17bd12b11c9aafc (diff) | |
parent | c0fdccfd226a1424683d3000d9e08384391210a2 (diff) | |
download | linux-ca8d0fa7cfb8abc4f623d49df210e0b81b32f626.tar.bz2 |
Merge branch 'bpf-fix-xsk-wakeup'
Maxim Mikityanskiy says:
====================
This series addresses the issue described in the commit message of the
first patch: lack of synchronization between XSK wakeup and destroying
the resources used by XSK wakeup. The idea is similar to napi_synchronize.
The series contains fixes for the drivers that implement XSK.
v2 incorporates changes suggested by Björn:
1. Call synchronize_rcu in Intel drivers only if the XDP program is
being unloaded.
2. Don't forget rcu_read_lock when wakeup is called from xsk_poll.
3. Use xs->zc as the condition to call ndo_xsk_wakeup.
====================
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions