Skip to content
Commit 189e7a8d authored by Danielle Ratson's avatar Danielle Ratson Committed by Jakub Kicinski
Browse files

ethtool: Validate master slave configuration before rtnl_lock()



Create a new function for input validations to be called before
rtnl_lock() and move the master slave validation to that function.

This would be a cleanup for next patch that would add another validation
to the new function.

Signed-off-by: default avatarDanielle Ratson <danieller@nvidia.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 99b8202b
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