Re: [PATCH net-next] ppp: update channel locking comment and doc

From: Qingfang Deng

Date: Sun Aug 09 2026 - 21:19:56 EST


On 2026/8/7 14:01, Qingfang Deng wrote:
Commit ec4215683e47 ("ppp: defer channel free to an RCU grace period to
fix pppol2tp RX UAF") defers freeing generic channel state to an RCU
grace period via call_rcu().

Update the SMP locking notes comment in include/linux/ppp_channel.h and
Documentation/networking/ppp_generic.rst to reflect that in-flight RCU
readers can complete safely after ppp_unregister_channel().

Reported by Sashiko.

Signed-off-by: Qingfang Deng <qingfang.deng@xxxxxxxxx>


Sashiko pointed out more issues. I should keep the comments for now.

---
pw-bot: cr