Vladimir Oltean d5d5fd8f25 net: move copy_from_user() out of net_hwtstamp_validate()
The kernel will want to start using the more meaningful struct
hwtstamp_config pointer in more places, so move the copy_from_user() at
the beginning of dev_set_hwtstamp() in order to get to that, and pass
this argument to net_hwtstamp_validate().

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-03 10:04:26 +01:00
..
2023-02-21 18:24:12 -08:00
2023-03-31 09:17:09 +01:00
2023-03-16 17:34:40 -07:00
2023-02-13 09:30:14 +00:00
2023-03-30 23:52:20 -07:00
2023-02-21 18:24:12 -08:00
2023-03-25 13:32:43 -07:00
2023-02-21 18:24:12 -08:00
2023-03-30 23:52:20 -07:00
2023-03-13 15:59:20 -07:00