Re: [PATCH net v1] net: ravb: fix use-after-free in ravb_get_ts_info

luoxuanqiang <[email protected]>
Newsgroups org.kernel.vger.stable,org.kernel.vger.linux-renesas-soc,org.kernel.vger.netdev
Message-ID <[email protected]>
在 2026/8/1 17:35, Niklas Söderlund 写道:
> Ahh, yes you are correct. Clearing priv->ptp.clock after the clock have
> been unregistered, and checking it before use, is not introduced in that
> series. And as you do here that should be fixed.
>
> I have no strong opinion if this is done before or after the PTP rework
> series. If you want to send a v2 and have it go in before I will rebase
> on top of your work. Else adding this on-top of the rework is trivial as
> the locations where it needs to be checked are abstracted out to
> callbacks.
>
Hello Niklas,

Thanks for confirming. I have sent v2 separately.

Best regards,
Xuanqiang
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.