tap(4) SIOCSIFMTU patch
Rui Paulo
rpaulo at freebsd.org
Fri Mar 13 02:36:59 PDT 2009
On 13 Mar 2009, at 01:54, Sean C. Farley wrote:
> Here is a patch[1] that will allow the MTU to be set higher than
> 1500 on a tap(4) interface. I ran into the need to do this when I
> had em0 set to 9000 and tried to bridge em0 with tap0 (MTU 1500) for
> QEMU. A bridge interface will not allow interfaces with different
> MTU's to be added to it.
>
> Since I have touched little inside the kernel, I thought it best if
> others take a look at it first.
>
> Sean
> 1. http://people.freebsd.org/~scf/if_tap-SIOCSIFMTU.patch
This looks ok. I'm assuming bridge now works for you.
Regards
--
Rui Paulo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20090313/69d323f5/PGP.pgp
More information about the freebsd-net
mailing list