From: Vlad Yasevich Date: Tue, 30 Sep 2014 23:39:36 +0000 (-0400) Subject: tg3: Allow for recieve of full-size 8021AD frames X-Git-Tag: fixes-for-v3.18-merge-window~53^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d3083ee36b51e425b6abd76778a2046906b0fd3;p=pandora-kernel.git tg3: Allow for recieve of full-size 8021AD frames When receiving a vlan-tagged frame that still contains a vlan header, the length of the packet will be greater then MTU+ETH_HLEN since it will account of the extra vlan header. TG3 checks this for the case for 802.1Q, but not for 802.1ad. As a result, full sized 802.1ad frames get dropped by the card. Add a check for 802.1ad protocol when receving full sized frames. Suggested-by: Prashant Sreedharan CC: Prashant Sreedharan CC: Michael Chan Signed-off-by: Vladislav Yasevich Signed-off-by: David S. Miller --- Reading git-diff-tree failed