Re: [PATCH] ppp: Fix generating ifname when empty IFLA_IFNAME is specified

From: patchwork-bot+netdevbpf
Date: Sun Aug 08 2021 - 08:10:25 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Sat, 7 Aug 2021 15:27:03 +0200 you wrote:
> IFLA_IFNAME is nul-term string which means that IFLA_IFNAME buffer can be
> larger than length of string which contains.
>
> Function __rtnl_newlink() generates new own ifname if either IFLA_IFNAME
> was not specified at all or userspace passed empty nul-term string.
>
> It is expected that if userspace does not specify ifname for new ppp netdev
> then kernel generates one in format "ppp<id>" where id matches to the ppp
> unit id which can be later obtained by PPPIOCGUNIT ioctl.
>
> [...]

Here is the summary with links:
- ppp: Fix generating ifname when empty IFLA_IFNAME is specified
https://git.kernel.org/netdev/net/c/2459dcb96bcb

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html