linux/drivers/net/ethernet/intel
Ben Hutchings 62d7e3a2d0 e1000e: Validate hwtstamp_config completely before applying it
e1000e_hwtstamp_ioctl() should validate all fields of hwtstamp_config
before making any changes.  Currently it copies the configuration to
the e1000_adapter structure before validating it at all.

Change e1000e_config_hwtstamp() to take a pointer to the
hwstamp_config and to copy the config after validating it.

Compile-tested only.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-14 16:22:09 -05:00
..
e1000 e1000: fix wrong queue idx calculation 2013-11-01 05:45:29 -07:00
e1000e e1000e: Validate hwtstamp_config completely before applying it 2013-11-14 16:22:09 -05:00
i40e i40e: fix error return code in i40e_probe() 2013-10-29 04:29:25 -07:00
igb igb: Update link modes display in ethtool 2013-11-11 00:19:35 -05:00
igbvf igbvf: add missing iounmap() on error in igbvf_probe() 2013-10-24 05:11:16 -07:00
ixgb intel: Remove extern from function prototypes 2013-09-24 12:51:37 -07:00
ixgbe ixgbe: add warning when max_vfs is out of range. 2013-11-11 00:19:36 -05:00
ixgbevf ixgbe: cleanup IXGBE_DESC_UNUSED 2013-11-01 06:20:10 -07: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