aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorVlad Yasevich <[email protected]>2014-09-30 19:39:36 -0400
committerDavid S. Miller <[email protected]>2014-10-01 16:43:45 -0400
commit7d3083ee36b51e425b6abd76778a2046906b0fd3 (patch)
treef518f81fe67e5210f72ec6e7705a5fd288be614f /lib/memory-notifier-error-inject.c
parentf561de33d63aefb97fb0c3653a36fb32d4e8c74a (diff)
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 <[email protected]> CC: Prashant Sreedharan <[email protected]> CC: Michael Chan <[email protected]> Signed-off-by: Vladislav Yasevich <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions