]> git.ipfire.org Git - thirdparty/linux.git/commit
pppoe: remove kernel-mode relay support
authorQingfang Deng <dqfext@gmail.com>
Tue, 24 Feb 2026 01:50:52 +0000 (09:50 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 26 Feb 2026 10:41:00 +0000 (11:41 +0100)
commit15c9ed1d8286dc0297f01347dc74f5a8cbc173de
tree6e3c234886bbadc11e14bbaaa6ab1d3ffddce826
parent90fcb0f3bc5ab67773b35030af68ed8c6bd83e1c
pppoe: remove kernel-mode relay support

The kernel-mode PPPoE relay feature and its two associated ioctls
(PPPOEIOCSFWD and PPPOEIOCDFWD) are not used by any existing userspace
PPPoE implementations. The most commonly-used package, RP-PPPoE [1],
handles the relaying entirely in userspace.

This legacy code has remained in the driver since its introduction in
kernel 2.3.99-pre7 for over two decades, but has served no practical
purpose.

Remove the unused relay code.

[1] https://dianne.skoll.ca/projects/rp-pppoe/

Signed-off-by: Qingfang Deng <dqfext@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Guillaume Nault <gnault@redhat.com>
Link: https://patch.msgid.link/20260224015053.42472-1-dqfext@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ppp/pppoe.c
drivers/net/ppp/pppox.c
include/linux/if_pppox.h
include/uapi/linux/if_pppox.h