linux/drivers
Vlad Yasevich 152fc44a11 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:36:42 +02:00
..
accessibility
acpi ACPI / scan: Correct error return value of create_modalias() 2014-10-05 14:52:16 -07:00
amba
ata ata_piix: Add Device IDs for Intel 9 Series PCH 2014-10-05 14:52:20 -07:00
atm
auxdisplay
base regmap: Don't attempt block writes when syncing cache on single_rw devices 2014-10-05 14:52:17 -07:00
bcma Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2014-01-30 17:20:32 -08:00
block drbd: fix regression 'out of mem, failed to invoke fence-peer helper' 2014-10-09 12:21:28 -07:00
bluetooth Bluetooth: btmrvl: wait for HOST_SLEEP_ENABLE event in suspend 2014-09-17 09:19:22 -07:00
bus bus: mvebu-mbus: allow several windows with the same target/attribute 2014-06-07 10:28:22 -07:00
cdrom Merge branch 'for-3.14/drivers' of git://git.kernel.dk/linux-block 2014-01-30 11:40:10 -08:00
char tpm: Properly clean sysfs entries in error path 2014-09-17 09:19:08 -07:00
clk clk: qcom: mdp_lut_clk is a child of mdp_src 2014-10-05 14:52:24 -07:00
clocksource clocksource: Exynos_mct: Register clock event after request_irq() 2014-06-07 10:28:08 -07:00
connector net: Use netlink_ns_capable to verify the permisions of netlink messages 2014-06-26 15:15:38 -04:00
cpufreq cpufreq: integrator: fix integrator_cpufreq_remove return type 2014-10-09 12:21:26 -07:00
cpuidle powerpc/powernv/cpuidle: Back-end cpuidle driver for powernv platform. 2014-01-29 17:02:24 +11:00
crypto crypto: ux500 - make interrupt mode plausible 2014-09-05 16:34:14 -07:00
dca
devfreq Merge branches 'pm-cpufreq' and 'pm-devfreq' 2014-01-29 11:48:23 +01:00
dio
dma dmaengine: dw: don't perform DMA when dmaengine_submit is called 2014-10-05 14:52:24 -07:00
edac i7300_edac: Fix device reference count 2014-02-25 09:43:13 +01:00
eisa Revert "EISA: Initialize device before its resources" 2014-01-17 14:57:29 -07:00
extcon extcon: max14577: Properly handle regmap_irq_get_virq error 2014-06-30 20:11:52 -07:00
firewire firewire: revert to 4 GB RDMA, fix protocols using Memory Space 2014-06-11 11:54:10 -07:00
firmware firmware: Do not use WARN_ON(!spin_is_locked()) 2014-09-17 09:19:08 -07:00
fmc drivers/fmc/fmc-write-eeprom.c: fix decimal permissions 2014-02-25 15:25:43 -08:00
gpio gpio: mcp23s08: Bug fix of SPI device tree registration. 2014-06-11 11:54:14 -07:00
gpu drm/i915: Flush the PTEs after updating them before suspend 2014-10-09 12:21:26 -07:00
hid HID: logitech-dj: prevent false errors to be shown 2014-10-05 14:52:12 -07:00
hsi
hv Drivers: hv: util: Fix a bug in the KVP code 2014-07-28 08:05:56 -07:00
hwmon hwmon: (ds1621) Update zbits after conversion rate change 2014-10-05 14:52:19 -07:00
hwspinlock
i2c i2c: ismt: use correct length when copy buffer 2014-10-05 14:52:11 -07:00
ide drivers: ide: Include appropriate header file in ide-pio-blacklist.c 2014-01-28 23:35:09 -08:00
idle ACPI and power management updates for 3.14-rc1 2014-01-24 15:51:02 -08:00
iio iio:inkern: fix overwritten -EPROBE_DEFER in of_iio_channel_get_by_name 2014-10-05 14:52:18 -07:00
infiniband IB/core: When marshaling uverbs path, clear unused fields 2014-10-05 14:52:22 -07:00
input Input: i8042 - add nomux quirk for Avatar AVIU-145A6 2014-10-05 14:52:19 -07:00
iommu iommu/arm-smmu: fix programming of SMMU_CBn_TCR for stage 1 2014-10-05 14:52:15 -07:00
ipack
irqchip irqchip: gic: Fix core ID calculation when topology is read from DT 2014-07-28 08:06:02 -07:00
isdn isdnloop: several buffer overflows 2014-04-14 06:50:04 -07:00
leds leds: leds-pwm: properly clean up after probe failure 2014-06-07 10:28:18 -07:00
lguest
macintosh Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2014-01-27 21:11:26 -08:00
mailbox drivers/mailbox/omap: make mbox->irq signed for error handling 2014-01-23 16:36:53 -08:00
md md/raid5: disable 'DISCARD' by default due to safety concerns. 2014-10-09 12:21:26 -07:00
media media: vb2: fix VBI/poll regression 2014-10-09 12:21:27 -07:00
memory memory: mvebu-devbus: fix the conversion of the bus width 2014-06-07 10:28:22 -07:00
memstick drivers/memstick/host/rtsx_pci_ms.c: fix ms card data transfer bug 2014-01-23 16:37:04 -08:00
message drivers/message/i2o/i2o_config.c: fix deadlock in compat_ioctl(I2OGETIOPS) 2014-02-10 16:01:40 -08:00
mfd mfd: omap-usb-host: Fix improper mask use. 2014-09-17 09:19:09 -07:00
misc mei: nfc: fix memory leak in error path 2014-09-05 16:34:16 -07:00
mmc mmc: rtsx: add R1-no-CRC mmc command type handle 2014-07-09 11:18:28 -07:00
mtd mtd: nand: omap: Fix 1-bit Hamming code scheme, omap_calculate_ecc() 2014-09-17 09:19:28 -07:00
net tg3: Allow for recieve of full-size 8021AD frames 2014-10-15 08:36:42 +02:00
nfc NFC: microread: Potential overflows in microread_target_discovered() 2014-10-05 14:52:18 -07:00
ntb
nubus
of of/irq: Fix lookup to use 'interrupts-extended' property first 2014-10-05 14:52:10 -07:00
oprofile
parisc
parport parport: fix menu breakage 2014-07-31 12:52:56 -07:00
pci ACPI / PCI: Fix sysfs acpi_index and label errors 2014-09-05 16:34:15 -07:00
pcmcia PCI changes for the v3.14 merge window: 2014-01-22 16:39:28 -08:00
phy usb: phy: twl4030-usb: Fix regressions to runtime PM on omaps 2014-10-05 14:52:14 -07:00
pinctrl pinctrl: as3722: fix handling of GPIO invert bit 2014-05-13 13:32:54 +02:00
platform thinkpad_acpi: Fix inconsistent mute LED after resume 2014-05-13 13:32:56 +02:00
pnp ACPI / PNP: Fix acpi_pnp_match() 2014-08-07 14:52:37 -07:00
power bq2415x_charger: Fix Atomic Sleep Bug 2014-09-17 09:19:18 -07:00
powercap
pps
ps3
ptp ptp_pch: Add dependency on HAS_IOMEM 2014-01-15 14:51:22 -08:00
pwm pwm: lp3943: Fix potential memory leak during request 2014-02-26 15:45:12 +01:00
rapidio rapidio/tsi721_dma: fix failure to obtain transaction descriptor 2014-08-07 14:52:37 -07:00
regulator regulator: arizona-ldo1: remove bypass functionality 2014-09-17 09:19:09 -07:00
remoteproc
reset
rpmsg
rtc drivers/rtc/rtc-puv3.c: use dev_dbg() instead of dev_debug() for typo issue 2014-07-17 16:21:06 -07:00
s390 s390/chsc: fix SEI usage on old FW levels 2014-05-13 13:32:49 +02:00
sbus bbc-i2c: Fix BBC I2C envctrl on SunBlade 2000 2014-08-14 09:38:26 +08:00
scsi SCSI: libiscsi: fix potential buffer overrun in __iscsi_conn_send_pdu 2014-10-05 14:52:18 -07:00
sfi
sh
sn
spi spi: dw-pci: fix bug when regs left uninitialized 2014-10-05 14:52:16 -07:00
ssb Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2014-01-30 17:20:32 -08:00
staging staging/lustre: disable virtual block device for 64K pages 2014-10-05 14:52:24 -07:00
target iscsi-target: Fix memory corruption in iscsit_logout_post_handler_diffcid 2014-10-05 14:52:18 -07:00
tc
thermal thermal: hwmon: Make the check for critical temp valid consistent 2014-07-17 16:21:03 -07:00
tty serial: 8250_dma: check the result of TX buffer mapping 2014-10-05 14:52:24 -07:00
uio
usb usb: dwc3: core: fix ordering for PHY suspend 2014-10-05 14:52:20 -07:00
uwb uwb: init beacon cache entry before registering uwb device 2014-10-05 14:52:14 -07:00
vfio mm: close PageTail race 2014-03-04 07:55:47 -08:00
vhost vhost: validate vhost_get_vq_desc return value 2014-03-28 16:10:35 -04:00
video drivers/video/fbdev/fb-puv3.c: Add header files for function unifb_mmap 2014-07-09 11:18:29 -07:00
virt
virtio virtio_balloon: don't softlockup on huge balloon changes. 2014-05-13 13:32:48 +02:00
vlynq drivers/vlynq/vlynq.c: fix another resource size off by 1 error 2014-01-23 16:36:55 -08:00
vme VME: Correct read/write alignment algorithm 2014-02-07 08:16:14 -08:00
w1 w1: fix w1_send_slave dropping a slave id 2014-05-06 07:59:26 -07:00
watchdog watchdog: kempld-wdt: Use the correct value when configuring the prescaler with the watchdog 2014-07-06 18:57:27 -07:00
xen xen/manage: Always freeze/thaw processes when suspend/resuming 2014-10-05 14:52:17 -07:00
zorro
Kconfig
Makefile