[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190614082015.23336-1-toshiaki.makita1@gmail.com>
Date: Fri, 14 Jun 2019 17:20:12 +0900
From: Toshiaki Makita <toshiaki.makita1@...il.com>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
Jesper Dangaard Brouer <hawk@...nel.org>,
John Fastabend <john.fastabend@...il.com>
Cc: Toshiaki Makita <toshiaki.makita1@...il.com>,
netdev@...r.kernel.org, xdp-newbies@...r.kernel.org,
bpf@...r.kernel.org, "Michael S. Tsirkin" <mst@...hat.com>,
Jason Wang <jasowang@...hat.com>,
David Ahern <dsahern@...il.com>
Subject: [PATCH bpf 0/3] Devmap fixes around memory and RCU
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 <toshiaki.makita1@...il.com>
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
Powered by blists - more mailing lists