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

pch_gbe: 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.

Compile-tested only.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 62d7e3a2
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