summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/amd/atarilance.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-09-05 02:37:37 +0200
committerJakub Kicinski <kuba@kernel.org>2024-09-05 02:37:37 +0200
commitf0417c50fddd628e534c336d87932e7e1e883df3 (patch)
tree7b607a1a5f8adc6796cfc2771dc1f01fd62bde6e /drivers/net/ethernet/amd/atarilance.c
parentMerge tag 'wireless-2024-09-04' of git://git.kernel.org/pub/scm/linux/kernel/... (diff)
parentice: do not bring the VSI up, if it was down before the XDP setup (diff)
downloadlinux-f0417c50fddd628e534c336d87932e7e1e883df3.tar.xz
linux-f0417c50fddd628e534c336d87932e7e1e883df3.zip
Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue
Tony Nguyen says: ==================== ice: fix synchronization between .ndo_bpf() and reset Larysa Zaremba says: PF reset can be triggered asynchronously, by tx_timeout or by a user. With some unfortunate timings both ice_vsi_rebuild() and .ndo_bpf will try to access and modify XDP rings at the same time, causing system crash. The first patch factors out rtnl-locked code from VSI rebuild code to avoid deadlock. The following changes lock rebuild and .ndo_bpf() critical sections with an internal mutex as well and provide complementary fixes. * '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue: ice: do not bring the VSI up, if it was down before the XDP setup ice: remove ICE_CFG_BUSY locking from AF_XDP code ice: check ICE_VSI_DOWN under rtnl_lock when preparing for reset ice: check for XDP rings instead of bpf program when unconfiguring ice: protect XDP configuration with a mutex ice: move netif_queue_set_napi to rtnl-protected sections ==================== Link: https://patch.msgid.link/20240903183034.3530411-1-anthony.l.nguyen@intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/amd/atarilance.c')
0 files changed, 0 insertions, 0 deletions