Message ID | 89367666e04b38a8993027f1526801ca327ab96a.1720709333.git.petrm@nvidia.com (mailing list archive) |
---|---|
State | Accepted |
Commit | f67a90a0c8f5b3d0acc18f10650d90fec44775f9 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net] selftests: forwarding: devlink_lib: Wait for udev events after reloading | expand |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>: On Thu, 11 Jul 2024 17:27:02 +0200 you wrote: > From: Amit Cohen <amcohen@nvidia.com> > > Lately, an additional locking was added by commit c0a40097f0bc > ("drivers: core: synchronize really_probe() and dev_uevent()"). The > locking protects dev_uevent() calling. This function is used to send > messages from the kernel to user space. Uevent messages notify user space > about changes in device states, such as when a device is added, removed, > or changed. These messages are used by udev (or other similar user-space > tools) to apply device-specific rules. > > [...] Here is the summary with links: - [net] selftests: forwarding: devlink_lib: Wait for udev events after reloading https://git.kernel.org/netdev/net/c/f67a90a0c8f5 You are awesome, thank you!
diff --git a/tools/testing/selftests/net/forwarding/devlink_lib.sh b/tools/testing/selftests/net/forwarding/devlink_lib.sh index f1de525cfa55..62a05bca1e82 100644 --- a/tools/testing/selftests/net/forwarding/devlink_lib.sh +++ b/tools/testing/selftests/net/forwarding/devlink_lib.sh @@ -122,6 +122,8 @@ devlink_reload() still_pending=$(devlink resource show "$DEVLINK_DEV" | \ grep -c "size_new") check_err $still_pending "Failed reload - There are still unset sizes" + + udevadm settle } declare -A DEVLINK_ORIG