commit | 5f3da3281932a795b80cddd1887291515a7e324d | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Thu Nov 14 00:43:41 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 14 16:22:10 2013 -0500 |
tree | a1fb34efac122893d54620a3b7f8ce7e3219f0b4 | |
parent | 810abe9bb3619c717115ae88a09a92cb35a83171 [diff] |
stmmac: Validate hwtstamp_config completely before applying it stmmac_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>