]> git.ipfire.org Git - thirdparty/iproute2.git/commit
devlink: fix parallel flash notifications processing
authorJiri Pirko <jiri@nvidia.com>
Thu, 25 Aug 2022 08:04:20 +0000 (10:04 +0200)
committerDavid Ahern <dsahern@kernel.org>
Thu, 1 Sep 2022 02:37:29 +0000 (20:37 -0600)
commit2b392dac5be31c33b5ba16b3dbcf95899c9463fe
tree9dc84969f45936e8d9781bed5bdb28c9ac670654
parent5cddbb274eabaf03c8a95b289c2bcdf3e079bced
devlink: fix parallel flash notifications processing

Now that it is possible to flash multiple devlink instances in parallel,
the notification processing callback needs to count in the fact that it
receives message that belongs to different devlink instance. So handle
the it gracefully and don't error out.

Reported-by: Vikas Gupta <vikas.gupta@broadcom.com>
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
devlink/devlink.c