]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev-builtin-net_id: drop old kernels (<4.20) support
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 13 Apr 2025 20:15:45 +0000 (05:15 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 14 Apr 2025 18:40:14 +0000 (03:40 +0900)
commitd3d375a68671ae01a71b91b99f6bd2a3fe9ff01b
tree5777e214208014e26b335005a8c4951e3000b107
parent6d203bd830de999de48858da069b644f8a8d0938
udev-builtin-net_id: drop old kernels (<4.20) support

Since kernel v4.20, specifically since
https://github.com/torvalds/linux/commit/9b8b2a323008aedd39a8debb861b825707f01420
IP-over-Infiniband driver also uses dev_port.

As our baseline on the kernel is v5.4. Let's remove the fallback code.
For more details about the fallback, see
https://github.com/systemd/systemd/pull/10082#issuecomment-421416461
src/udev/udev-builtin-net_id.c