Files
linux/drivers/net/ethernet
Vlad Yasevich 58345c2e86 tg3: Allow for recieve of full-size 8021AD frames
[ Upstream commit 7d3083ee36 ]

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 <prashant@broadcom.com>
CC: Prashant Sreedharan <prashant@broadcom.com>
CC: Michael Chan <mchan@broadcom.com>
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-15 08:31:57 +02:00
..
2013-05-11 17:40:14 -07:00
2013-08-11 18:35:26 -07:00
2013-04-15 14:11:37 -04:00
2013-06-19 18:40:21 -07:00
2013-05-02 16:20:31 -04:00
2013-01-29 14:07:05 -05:00
2013-05-23 12:15:32 -07:00