diff options
author | Vlad Yasevich <vyasevich@gmail.com> | 2014-09-30 19:39:36 -0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-10-17 09:43:15 +0200 |
commit | d8cff32f227e9c50347a76deae7d71302950580f (patch) | |
tree | 9b8c48119ca90624fdece189b28ed0c26531269d /net | |
parent | 1042464ee3e7c833b24859a62943d351ccf66cad (diff) |
tg3: Allow for recieve of full-size 8021AD frames
[ Upstream commit 7d3083ee36b51e425b6abd76778a2046906b0fd3 ]
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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions