[PATCH] veth: Allow setting the L3 MTU

David Miller davem at davemloft.net
Tue Mar 3 23:36:16 PST 2009


From: ebiederm at xmission.com (Eric W. Biederman)
Date: Tue, 03 Mar 2009 20:14:18 -0800

> The limitation to only 1500 byte mtu's limits the utility of the veth
> device for testing routing.  So implement implement a configurable
> MTU.
> 
> For consistency I drop packets on the receive side when they are
> larger than the MTU.  I count those drops.  And I allow
> a little padding for vlan headers.
> 
> I also test the mtu when a new device is created with netlink
> because that path currently bypasses the current mtu setting
> code.
> 
> Signed-off-by: Eric Biederman <ebiederm at aristanetworks.com>

Applied to net-next-2.6, thanks Eric.


More information about the Containers mailing list