Skip to content
Commit ef72cd3c authored by Ivan Vecera's avatar Ivan Vecera Committed by Jakub Kicinski
Browse files

ethtool: fix error paths in ethnl_set_channels()



Fix two error paths in ethnl_set_channels() to avoid lock-up caused
but unreleased RTNL.

Fixes: e19c591e ("ethtool: set device channel counts with CHANNELS_SET request")
Reported-by: default avatarLiLiang <liali@redhat.com>
Signed-off-by: default avatarIvan Vecera <ivecera@redhat.com>
Reviewed-by: default avatarMichal Kubecek <mkubecek@suse.cz>
Link: https://lore.kernel.org/r/20201215090810.801777-1-ivecera@redhat.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5277d1ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment