From: Jakub Kicinski <kuba@kernel•org>
To: davem@davemloft•net
Cc: netdev@vger•kernel.org, eric.dumazet@gmail•com,
kernel-team@fb•com, Jakub Kicinski <kuba@kernel•org>
Subject: [PATCH net-next 0/3] netpoll: make sure napi_list is safe for RCU traversal
Date: Wed, 9 Sep 2020 10:37:50 -0700 [thread overview]
Message-ID: <20200909173753.229124-1-kuba@kernel.org> (raw)
Hi!
This series is a follow-up to the fix in commit 96e97bc07e90 ("net:
disable netpoll on fresh napis"). To avoid any latent race conditions
convert dev->napi_list to a proper RCU list. We need minor restructuring
because it looks like netif_napi_del() used to be idempotent, and
it may be quite hard to track down everyone who depends on that.
Jakub Kicinski (3):
net: remove napi_hash_del() from driver-facing API
net: manage napi add/del idempotence explicitly
net: make sure napi_list is safe for RCU traversal
.../net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 8 ++---
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 5 ++-
drivers/net/ethernet/cisco/enic/enic_main.c | 12 ++++---
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 4 +--
.../net/ethernet/myricom/myri10ge/myri10ge.c | 5 ++-
drivers/net/veth.c | 3 +-
drivers/net/virtio_net.c | 7 ++--
include/linux/netdevice.h | 36 +++++++++----------
net/core/dev.c | 32 ++++++++---------
net/core/netpoll.c | 2 +-
10 files changed, 55 insertions(+), 59 deletions(-)
--
2.26.2
next reply other threads:[~2020-09-09 17:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 17:37 Jakub Kicinski [this message]
2020-09-09 17:37 ` [PATCH net-next 1/3] net: remove napi_hash_del() from driver-facing API Jakub Kicinski
2020-11-24 18:00 ` Eric Dumazet
2020-11-24 18:54 ` Jakub Kicinski
2020-11-24 19:11 ` Eric Dumazet
2020-11-24 19:36 ` Jakub Kicinski
2020-09-09 17:37 ` [PATCH net-next 2/3] net: manage napi add/del idempotence explicitly Jakub Kicinski
2020-09-09 17:37 ` [PATCH net-next 3/3] net: make sure napi_list is safe for RCU traversal Jakub Kicinski
2020-09-10 20:09 ` [PATCH net-next 0/3] netpoll: " David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200909173753.229124-1-kuba@kernel.org \
--to=kuba@kernel$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=eric.dumazet@gmail$(echo .)com \
--cc=kernel-team@fb$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox