ethtool: Ensure new ring parameters are within bounds during SRINGPARAM
BugLink: https://bugs.launchpad.net/bugs/1874444 Add a sanity check to ensure that all requested ring parameters are within bounds, which should reduce errors in driver implementation. Signed-off-by:Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by:
Tariq Toukan <tariqt@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net> (cherry picked from commit 37e2d99b) Signed-off-by:
Guilherme G. Piccoli <gpiccoli@canonical.com> Acked-by:
Kleber Souza <kleber.souza@canonical.com> Acked-by:
Kamal Mostafa <kamal@canonical.com> Signed-off-by:
Khalid Elmously <khalid.elmously@canonical.com>
Showing
Please register or sign in to comment