summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/oki-semi
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-11-14 01:41:38 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-14 22:22:09 +0100
commit62d7e3a2d00675970bc7afccc2e407e1df8f1d0f (patch)
treeda28a6b71ac6c987b84c5d659637e1394ab0d7fc /drivers/net/ethernet/oki-semi
parenttg3: Validate hwtstamp_config completely before applying it (diff)
downloadlinux-62d7e3a2d00675970bc7afccc2e407e1df8f1d0f.tar.xz
linux-62d7e3a2d00675970bc7afccc2e407e1df8f1d0f.zip
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>
Diffstat (limited to 'drivers/net/ethernet/oki-semi')
0 files changed, 0 insertions, 0 deletions