[ Sasha's backport helper bot ]
Hi,
✅ All tests passed successfully. No issues detected. No action required from the submitter.
The upstream commit SHA1 provided is correct: f22b4b55edb507a2b30981e133b66b642be4d13f
WARNING: Author mismatch between patch and upstream commit: Backport author: Jeremy Kerrjk@codeconstruct.com.au Commit author: Jakub Kicinskikuba@kernel.org
Status in newer kernel trees: 6.15.y | Present (exact SHA1) 6.14.y | Present (exact SHA1) 6.12.y | Present (exact SHA1)
Note: The patch differs from the upstream commit: --- 1: f22b4b55edb50 ! 1: 9d419b60cbfdf net: make for_each_netdev_dump() a little more bug-proof @@ Metadata ## Commit message ## net: make for_each_netdev_dump() a little more bug-proof
+ commit f22b4b55edb507a2b30981e133b66b642be4d13f upstream. + I find the behavior of xa_for_each_start() slightly counter-intuitive. It doesn't end the iteration by making the index point after the last element. IOW calling xa_for_each_start() again after it "finished" @@ Commit message Signed-off-by: Jakub Kicinski kuba@kernel.org Reviewed-by: Przemek Kitszel przemyslaw.kitszel@intel.com Signed-off-by: David S. Miller davem@davemloft.net + Signed-off-by: Jeremy Kerr jk@codeconstruct.com.au
## include/linux/netdevice.h ## -@@ include/linux/netdevice.h: int call_netdevice_notifiers_info(unsigned long val, +@@ include/linux/netdevice.h: extern rwlock_t dev_base_lock; /* Device list lock */ #define net_device_entry(lh) list_entry(lh, struct net_device, dev_list)
#define for_each_netdev_dump(net, d, ifindex) \ ---
Results of testing on various branches:
| Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.6.y | Success | Success |