]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/network.c
network: set mtu of unpriv veth to the bridge's mtu
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 19 Feb 2014 04:42:34 +0000 (22:42 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 19 Feb 2014 05:16:27 +0000 (23:16 -0600)
commit0130df547140cbaf5520da4ab0362d582ef85e55
treeb467ba02f72cab28f027fe9034fa483d50bfbd05
parentd6470e7163dd55d4a1953fda3ebb8eea4f97c65d
network: set mtu of unpriv veth to the bridge's mtu

That's to make sure that if the bridge has a higher than 1500
mtu, the new veth (defaulting to 1500) doesn't lower it.

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxc_user_nic.c
src/lxc/network.c
src/lxc/network.h