Thread (7 messages) 7 messages, 5 authors, 2026-04-03

Re: [PATCH net-next v2] ppp: add IFLA_PPP_UNIT netlink attribute

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-03-17 23:14:45
Also in: lkml

On Sat, 14 Mar 2026 02:14:29 +0100 Martin Olivier wrote:
Currently, the PPP rtnetlink API allows creating a new network interface
with a custom ifname, but it lacks the ability to specify a custom PPP
unit id.

Setting a specific unit id is currently only possible with the
PPPIOCNEWUNIT ioctl. If a user-space program also requires a custom
interface name, it must create the interface first with PPPIOCNEWUNIT
and then rename it.

Resolve this by introducing the IFLA_PPP_UNIT netlink attribute. This
allows user-space programs to atomically request both a custom ifname
and a specific PPP unit id during the RTM_NEWLINK creation process,
eliminating the post-creation renaming for this use case.
Qingfang Deng, you work on PPP, could you review this patch, please?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help