diff options
| author | Dan Carpenter <[email protected]> | 2013-09-13 20:44:20 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2013-10-24 05:03:06 -0700 |
| commit | 3de9e65f011b95235a789b12abc4730570cdb737 (patch) | |
| tree | 32951a92eca4657f05f75600f4fd9f28b1f4c2f2 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | b45bd46decd947eaa3497699d450e0851d247534 (diff) | |
igbvf: integer wrapping bug setting the mtu
If new_mtu is very large then "new_mtu + ETH_HLEN + ETH_FCS_LEN" can
wrap and the check on the next line can underflow. This is one of those
bugs which can be triggered by the user if you have namespaces
configured.
Also since this is something the user can trigger then we don't want to
have dev_err() message.
This is a static checker fix and I'm not sure what the impact is.
Signed-off-by: Dan Carpenter <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Tested-by: Sibai Li [email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions