[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bba0d5d3-1d8d-fda7-879e-e86957ef6645@gmail.com>
Date: Sun, 2 Apr 2023 05:52:58 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Vladimir Oltean <vladimir.oltean@....com>, netdev@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Andrew Lunn <andrew@...n.ch>,
Maxim Georgiev <glipus@...il.com>,
Horatiu Vultur <horatiu.vultur@...rochip.com>,
Köry Maincent <kory.maincent@...tlin.com>,
Maxime Chevallier <maxime.chevallier@...tlin.com>
Subject: Re: [PATCH net-next 4/7] net: move copy_from_user() out of
net_hwtstamp_validate()
On 4/2/2023 5:37 AM, Vladimir Oltean wrote:
> 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@....com>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists