Web lists-archives.com

Re: Naming of network devices - how to improve it in buster




Matt Zagrabelny, on mar. 11 juil. 2017 09:53:58 -0500, wrote:
>     Relatedly, network device name lengths are limited to the length of some
>     arbitrarily-sized struct field in the kernel ABI,
> 
> Feature request to bump the size of of interface names struct? Any reason to
> not do so?

One reason is that it's already compiled in a lot of applications
through the IFNAMSIZ and IF_NAMESIZE macros (8155 and 939 results in
codesearch), so a lot of software would suddently break on interfaces
with long names until recompiled.

Samuel