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:
Michael Crosby 2014-11-19 17:08:49 -08:00
parent 101dff031b
commit 378491e907
1 changed files with 0 additions and 3 deletions

View File

@ -39,9 +39,6 @@ func (v *Veth) Create(n *Network, nspid int, networkState *NetworkState) error {
if err := SetMtu(name1, n.Mtu); err != nil { if err := SetMtu(name1, n.Mtu); err != nil {
return err return err
} }
if err := SetHairpinMode(name1, true); err != nil {
return err
}
if err := InterfaceUp(name1); err != nil { if err := InterfaceUp(name1); err != nil {
return err return err
} }