Skip to content
Commit a5be8cd3 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

ixp4xx_eth: Validate hwtstamp_config completely before applying it



hwtstamp_ioctl() should validate all fields of hwtstamp_config
before making any changes.  Currently it sets the TX configuration
before validating the rx_filter field.

Untested as I don't have a cross-compiler to hand.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2ee91e54
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment