commit | 37e2d99b59c4765112533a1d38174fea58d28a51 | [log] [tgz] |
---|---|---|
author | Eugenia Emantayev <eugenia@mellanox.com> | Mon Jan 08 16:00:24 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 09 11:54:49 2018 -0500 |
tree | 526eef443a0d386d73e61fec979a2f07d5b720b7 | |
parent | 709af180eed51042eeae6c232d109d4c18e88c8e [diff] |
ethtool: Ensure new ring parameters are within bounds during SRINGPARAM 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>