tap mtu limitation

From: Edward Chapman
Date: Sat Mar 15 2008 - 13:28:10 EST


tap devices appear not to support an mtu higher than 1500:

usilap:/ # uname -r
2.6.23.12
usilap:/ # /usr/bin/tunctl -u root -t tap0
Set 'tap0' persistent and owned by uid 0
usilap:/ # ip link set tap0 mtu 1500
usilap:/ # ip link set tap0 mtu 1501
SIOCSIFMTU: Invalid argument
usilap:/ # ip link set tap0 mtu 1600
SIOCSIFMTU: Invalid argument

Would it be trivial to remove this limitation? Can anyone tell me where
is the code that is enforcing this limitation? Is it in
drivers/net/tun.c ?

thanks,
Eddie

--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html