mirror of
https://github.com/moby/moby.git
synced 2026-07-11 00:58:22 +00:00
This code was forked from libcontainer (now runc) infb6dd9766eFrom the description of this code: > THIS CODE DOES NOT COMMUNICATE WITH KERNEL VIA RTNETLINK INTERFACE > IT IS HERE FOR BACKWARDS COMPATIBILITY WITH OLDER LINUX KERNELS > WHICH SHIP WITH OLDER NOT ENTIRELY FUNCTIONAL VERSION OF NETLINK That comment was added as part of a refactor in;4fe2c7a4dbDigging deeper into the code, it describes: > This is more backward-compatible than netlink.NetworkSetMaster and > works on RHEL 6. That comment (and code) moved around a few times; - moved into the libcontainer pkg:6158ccad97- moved within the networkdriver pkg:4cdcea2047- moved into the networkdriver pkg:90494600d3Ultimately leading to7a94cdf8ed, which implemented this: > create the bridge device with ioctl > > On RHEL 6, creation of a bridge device with netlink fails. Use the more > backward-compatible ioctl instead. This fixes networking on RHEL 6. So from that information, it looks indeed to support RHEL 6, and Ubuntu 12.04 which are both EOL, and we haven't supported for a long time, so probably time to remove this. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>