linux_dsm_epyc7002/drivers/net/ethernet/intel
Dan Carpenter 3de9e65f01 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 <dan.carpenter@oracle.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Tested-by: Sibai Li Sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-10-24 05:03:06 -07:00
..
e1000 intel: Remove extern from function prototypes 2013-09-24 12:51:37 -07:00
e1000e intel: Remove extern from function prototypes 2013-09-24 12:51:37 -07:00
i40e i40e: Bump version 2013-10-22 06:49:46 -07:00
igb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-10-08 23:07:53 -04:00
igbvf igbvf: integer wrapping bug setting the mtu 2013-10-24 05:03:06 -07:00
ixgb intel: Remove extern from function prototypes 2013-09-24 12:51:37 -07:00
ixgbe net:drivers/net: Miscellaneous conversions to ETH_ALEN 2013-10-02 17:04:45 -04:00
ixgbevf net:drivers/net: Miscellaneous conversions to ETH_ALEN 2013-10-02 17:04:45 -04:00
e100.c net: e100: remove unnecessary pci_set_drvdata() 2013-10-21 17:21:01 -04:00
Kconfig i40e: include i40e in kernel proper 2013-09-11 02:28:40 -07:00
Makefile i40e: include i40e in kernel proper 2013-09-11 02:28:40 -07:00