Re: [PATCH] Configurable tap interface MTU

From: Ed Swierk
Date: Wed Sep 12 2007 - 12:54:51 EST


On 9/11/07, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> Please make it 65535 without an Ethernet header and 65521
> with an Ethernet header.

Here is a revised patch that allows MTUs up to 65535 for tap
interfaces and up to 65521 for tun interfaces.

(If I set the MTU to 65521 on a tun interface, ping complains "message
too long" when I send a 65521-byte packet; 65520 works okay, though.)

--Ed

Attachment: tap-change-mtu.patch
Description: Binary data