Re: [PATCH net-next] ppp: pass private data to channel callbacks

From: Qingfang Deng

Date: Fri Sep 04 2026 - 01:40:37 EST


On 2026/9/4 11:57, Jiri Slaby wrote:
Hi,

On 04. 09. 26, 5:11, Qingfang Deng wrote:
PPP channel callbacks receive struct ppp_channel only to retrieve the
driver's private pointer. Pass that pointer directly instead.

We had type checking at least. What's the purpose of this patch, actually?

The goal is to unify the two channel structs and make it owned by the generic PPP layer.

You can view previous discussions here:
https://lore.kernel.org/netdev/20260430090532.244758-2-qingfang.deng@xxxxxxxxx/

Kind regards,