Re: [PATCH RFC net-next] pppoe: remove unused kernel-mode relay support

From: Arnd Bergmann

Date: Wed Feb 11 2026 - 03:33:20 EST


On Wed, Feb 11, 2026, at 08:55, Qingfang Deng wrote:

> -#ifdef CONFIG_COMPAT
> -int pppox_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned
> long arg)
> -{
> - if (cmd == PPPOEIOCSFWD32)
> - cmd = PPPOEIOCSFWD;
> -
> - return pppox_ioctl(sock, cmd, (unsigned long)compat_ptr(arg));
> -}
> -
> -EXPORT_SYMBOL(pppox_compat_ioctl);
> -#endif

This will lose all compat ioctl support, not just the emulation for
PPPOEIOCSFWD.

Arnd