aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Duyck <alexanderduyck@fb.com>2025-08-25 15:56:06 -0700
committerJakub Kicinski <kuba@kernel.org>2025-08-27 18:57:08 -0700
commit2ddaa562b465921a5d1da3fc939993b92b953e20 (patch)
tree2c9576672999699524864a67a9e84c304bcc8422 /tools/perf/scripts/python
parentnet: rose: fix a typo in rose_clear_routes() (diff)
downloadwireguard-linux-2ddaa562b465921a5d1da3fc939993b92b953e20.tar.xz
wireguard-linux-2ddaa562b465921a5d1da3fc939993b92b953e20.zip
fbnic: Fixup rtnl_lock and devl_lock handling related to mailbox code
The exception handling path for the __fbnic_pm_resume function had a bug in that it was taking the devlink lock and then exiting to exception handling instead of waiting until after it released the lock to do so. In order to handle that I am swapping the placement of the unlock and the exception handling jump to label so that we don't trigger a deadlock by holding the lock longer than we need to. In addition this change applies the same ordering to the rtnl_lock/unlock calls in the same function as it should make the code easier to follow if it adheres to a consistent pattern. Fixes: 82534f446daa ("eth: fbnic: Add devlink dev flash support") Signed-off-by: Alexander Duyck <alexanderduyck@fb.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Link: https://patch.msgid.link/175616256667.1963577.5543500806256052549.stgit@ahduyck-xeon-server.home.arpa Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions