]> www.infradead.org Git - users/willy/xarray.git/commit
net: fix unreleased lock in cable test
authorDiogo Jahchan Koike <djahchankoike@gmail.com>
Mon, 26 Aug 2024 13:45:46 +0000 (10:45 -0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Aug 2024 19:47:38 +0000 (12:47 -0700)
commit3d6a0c4f4552c8b08ba63b9da97c8255db4c6a56
tree2c521f9df2a95434b98d36585113503a9e341ca8
parentf8fdda9e4f988c210b1e4519a28ddbf7d29b0038
net: fix unreleased lock in cable test

fix an unreleased lock in out_dev_put path by removing the (now)
unnecessary path.

Reported-by: syzbot+c641161e97237326ea74@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=c641161e97237326ea74
Fixes: 3688ff3077d3 ("net: ethtool: cable-test: Target the command to the requested PHY")
Signed-off-by: Diogo Jahchan Koike <djahchankoike@gmail.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/20240826134656.94892-1-djahchankoike@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/cabletest.c