Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Thu, 18 Mar 2021 04:42:53 +0100 you wrote:
__dev_alloc_name(), when supplied with a name containing '%d',
will search for the first available device number to generate a
unique device name.
Since commit ff92741270bf8b6e78aa885f166b68c7a67ab13a ("net:
introduce name_node struct to be used in hashlist") network
devices may have alternate names. __dev_alloc_name() does take
these alternate names into account, possibly generating a name
that is already taken and failing with -ENFILE as a result.
[...]
Here is the summary with links:
- net: check all name nodes in __dev_alloc_name
https://git.kernel.org/netdev/net/c/6c015a225680
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html