commit | 810abe9bb3619c717115ae88a09a92cb35a83171 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Thu Nov 14 00:42:50 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 14 16:22:10 2013 -0500 |
tree | 85178bf18375bd5bfe6bdc330831e397b2493f78 | |
parent | 62d7e3a2d00675970bc7afccc2e407e1df8f1d0f [diff] |
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: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>