]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: link_setup - respect kernel name assign policy
authorTom Gundersen <teg@jklm.no>
Tue, 15 Jul 2014 15:57:43 +0000 (17:57 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 8 Aug 2014 11:30:15 +0000 (13:30 +0200)
commit04b67d49254d956d31bcfe80340fb9df7ed332d3
treee47d05d843be4c37d8aec5872e4848b9ab17c6a8
parentf3fc48150bb443f5b4623a819ebc2b39971a4f66
udev: link_setup - respect kernel name assign policy

Newer kernels export meta-information about the origin of an ifname. Respect this
from the ifname rename logic. We do not rename any interfaces that was originally
named by userspace, nor once which have already been renamed from userspace.

Moreover, we optionally do not (the default) rename interfaces which the kernel
claims to have named in a predictable way.
man/systemd.link.xml
network/99-default.link
src/shared/missing.h
src/udev/net/link-config.c
src/udev/net/link-config.h