Patch1: Jesper showed concerns around devmap free and flush race when
reviewing my XDP bulk TX patch set, and I think indeed there is a
race. Patch1 fix it.
Patch2: While reviewing dev_map_free I found bulk queue was not freed.
Patch2 fix it.
Patch3: Some days ago David Ahern reported suspicous RCU usage in
virtnet_xdp_xmit(), but it seems no one posted an official fix
patch. So I arraged the fix.
Signed-off-by: Toshiaki Makita <[email protected]>
Toshiaki Makita (3):
devmap: Fix premature entry free on destroying map
devmap: Add missing bulk queue free
devmap: Add missing RCU read lock on flush
kernel/bpf/devmap.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
1.8.3.1