summaryrefslogtreecommitdiff
path: root/include/linux/securebits.h
diff options
context:
space:
mode:
authorVlad Yasevich <vyasevich@gmail.com>2014-09-30 19:39:36 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-15 12:05:28 +0200
commit5fe8352975d6fbac9200c55ff66fd07aabb593e4 (patch)
tree9067a62d372d2fd3bfac38511e2b9d6f007efbcc /include/linux/securebits.h
parentb0ce10f71c27b97e880b5eb15471613f6facc11d (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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/securebits.h')
0 files changed, 0 insertions, 0 deletions