mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Remove hairpin nat on veth create
Writing to this file within /sys is casuing some issues for older kernels, specifically with 2.6.xx, where the write is failing because /sys is becoming ro. We will continue to work on the 2.6 issues but for the time being we cannot ship this with it enabled as it's breaking all container runs. Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -39,9 +39,6 @@ func (v *Veth) Create(n *Network, nspid int, networkState *NetworkState) error {
|
||||
if err := SetMtu(name1, n.Mtu); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := SetHairpinMode(name1, true); err != nil {
|
||||
return err
|
||||
}
|
||||
if err := InterfaceUp(name1); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user