From: Eric Biederman Date: Wed, 4 Mar 2009 07:36:04 +0000 (-0800) Subject: veth: Allow setting the L3 MTU X-Git-Tag: v2.6.30-rc1~662^2~378 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d408152a86598a50680a82fe3353b506630409;p=pandora-kernel.git veth: Allow setting the L3 MTU 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed