]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tulip: Fix for MTU problems with 802.1q tagged frames
authorTomasz Lemiech <szpajder@staszic.waw.pl>
Fri, 13 Mar 2009 22:43:38 +0000 (15:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jul 2009 03:45:00 +0000 (20:45 -0700)
commit0d3d2711b2dd74f39a21ed20b88d733e9509100a
tree6fc7a610b061a0d1601c941d4015916b0f128192
parent01a6403211958921247f4e65b16376e6ec706a0d
tulip: Fix for MTU problems with 802.1q tagged frames

commit 1f8ae0a21d83f43006d7f6d2862e921dbf2eeddd upstream.

The original patch was submitted last year but wasn't discussed or applied
because of missing maintainer's CCs. I only fixed some formatting errors,
but as I saw tulip is very badly formatted and needs further work.

Original description:
This patch fixes MTU problem, which occurs when using 802.1q VLANs. We
should allow receiving frames of up to 1518 bytes in length, instead of
1514.

Based on patch written by Ben McKeegan for 2.4.x kernels. It is archived
at http://www.candelatech.com/~greear/vlan/howto.html#tulip
I've adjusted a few things to make it apply on 2.6.x kernels.

Tested on D-Link DFE-570TX quad-fastethernet card.

Signed-off-by: Tomasz Lemiech <szpajder@staszic.waw.pl>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: Ben McKeegan <ben@netservers.co.uk>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Cc: Christoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tulip/interrupt.c
drivers/net/tulip/tulip.h