aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorEric Biederman <ebiederm@aristanetworks.com>2009-03-03 23:36:04 -0800
committerDavid S. Miller <davem@davemloft.net>2009-03-03 23:36:04 -0800
commit38d408152a86598a50680a82fe3353b506630409 (patch)
treea285e4883bdf04eb68201f379b52fa068cf4b2ed /net/ipv4
parentabb79972b4d1dff00f79cb0d123173abac48a6ae (diff)
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 <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions