Re: [PATCH net v1] net: ravb: fix use-after-free in ravb_get_ts_info
luoxuanqiang <[email protected]> Sun, 2 Aug 2026 17:21:53 +0800
| Newsgroups | org.kernel.vger.linux-renesas-soc,org.kernel.vger.netdev,org.kernel.vger.stable |
|---|---|
| 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