runc/network
Alexander Larsson c2644a1bee Fix libcontainer network support on rhel6
It seems that netlink in older kernels, including RHEL6, does not
support RTM_SETLINK with IFLA_MASTER. It just silently ignores it, reporting
no error, causing netlink.NetworkSetMaster() to not do anything yet
return no error.

We fix this by introducing and using AddToBridge() in a very similar manner
to CreateBridge(), which use the old ioctls directly.

This fixes https://github.com/dotcloud/docker/issues/4668

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
2014-04-09 15:44:18 +02:00
..
loopback.go Fix issue #4681 - No loopback interface within container when networking is disabled. 2014-03-17 22:01:24 +01:00
netns.go Allow containers to join the net namespace of other conatiners 2014-03-21 00:48:17 +00:00
network.go Fix libcontainer network support on rhel6 2014-04-09 15:44:18 +02:00
strategy.go libcontainer/network: add netns strategy 2014-03-18 16:17:28 -07:00
veth.go Fix issue #4681 - No loopback interface within container when networking is disabled. 2014-03-17 22:01:24 +01:00