From: Tomasz Lemiech Date: Fri, 13 Mar 2009 22:43:38 +0000 (-0700) Subject: tulip: Fix for MTU problems with 802.1q tagged frames X-Git-Tag: v2.6.27.27~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d3d2711b2dd74f39a21ed20b88d733e9509100a;p=pandora-kernel.git 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 Signed-off-by: Ivan Vecera Signed-off-by: Ben McKeegan Acked-by: Grant Grundler Cc: Christoph Biedl Signed-off-by: David S. Miller --- Reading git-diff-tree failed