mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
ethtool: fix error paths in ethnl_set_channels()
[ Upstream commitef72cd3c5c] Fix two error paths in ethnl_set_channels() to avoid lock-up caused but unreleased RTNL. Fixes:e19c591eaf("ethtool: set device channel counts with CHANNELS_SET request") Reported-by: LiLiang <liali@redhat.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Reviewed-by: Michal Kubecek <mkubecek@suse.cz> Link: https://lore.kernel.org/r/20201215090810.801777-1-ivecera@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
aeab3d7a04
commit
95fcb69c49
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue