diff options
author | Eric Biederman <ebiederm@aristanetworks.com> | 2009-03-03 23:36:04 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-03 23:36:04 -0800 |
commit | 38d408152a86598a50680a82fe3353b506630409 (patch) | |
tree | a285e4883bdf04eb68201f379b52fa068cf4b2ed /net/netrom | |
parent | abb79972b4d1dff00f79cb0d123173abac48a6ae (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/netrom')
0 files changed, 0 insertions, 0 deletions