commit | a5be8cd3875ca051db857c9d76b253a7e7ea3f22 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Thu Nov 14 00:48:56 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 14 16:22:10 2013 -0500 |
tree | a9d5b9f6d2597b1fabf95853e70de55e568b435f | |
parent | 2ee91e54bd5367bf4123719a4f7203857b28e046 [diff] |
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: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>