You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jo-Philipp Wich 1e03998e2b mac80211: fix skb size calculation in 4addr mode (FS#24)
The PDU length of incoming LLC frames is set to the total skb payload size
in __ieee80211_data_to_8023() of net/wireless/util.c which incorrectly
includes the length of the IEEE 802.11 header.

The resulting LLC frame header has a too large PDU length, causing the
llc_fixup_skb() function of net/llc/llc_input.c to reject the incoming
skb, effectively breaking STP.

Solve the problem by properly substracting the IEEE 802.11 frame header size
from the PDU length, allowing the LLC processor to pick up the incoming
control messages.

Special thanks to Gerry Rozema for tracking down the regression and proposing
a suitable patch.

Fixes FS#24.

References:
https://bugs.lede-project.org/index.php?do=details&task_id=24

Reported-by: Gerry Rozema <gerryr@rozeware.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
..
000-fix_kconfig.patch mac80211: update to wireless-testing 2015-03-09 9 years ago
001-fix_build.patch mac80211: update to version 2015-06-22 9 years ago
002-change_allconfig.patch mac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related build errors 9 years ago
003-remove_bogus_modparams.patch mac80211: update to wireless-testing 2015-03-09 9 years ago
004-header-backport-GENL_UNS_ADMIN_PERM.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
005-header-backport-nla_put_u64_64bit-and-nla_put_64bit.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
006-compat-bump-rhashtable-backport-version-due-to-API-c.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
007-fix_duplicate_skcipher_backport.patch mac80211: fix a module build/dependency issue that was breaking lib80211 8 years ago
010-disable_rfkill.patch packages: clean up the package folder 11 years ago
030-rt2x00_options.patch mac80211: update to 2015-12-03 9 years ago
040-brcmutil_option.patch mac80211: update to 2015-12-03 9 years ago
050-lib80211_option.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
060-no_local_ssb_bcma.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
070-ath_common_config.patch mac80211: update to 2015-12-03 9 years ago
100-remove-cryptoapi-dependencies.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
110-mac80211_keep_keys_on_stop_ap.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
120-cfg80211_allow_perm_addr_change.patch cfg80211: add support for changing the device mac address via sysfs 10 years ago
150-disable_addr_notifier.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
201-ath5k-WAR-for-AR71xx-PCI-bug.patch mac80211: update to wireless-testing 2014-01-23 11 years ago
210-ap_scan.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
300-ath9k-force-rx_clear-when-disabling-rx.patch treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
301-ath9k-limit-retries-for-powersave-response-frames.patch treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
302-Revert-ath9k-interpret-requested-txpower-in-EIRP-dom.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
303-mac80211-mesh-flush-mesh-paths-unconditionally.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
304-mac80211-fix-fast_tx-header-alignment.patch mac80211: fix unaligned accesses in the tx path 8 years ago
305-ath10k-Ensure-txrx-compl-task-is-stopped-when-cleani.patch ath10k: merge some pending stability fixes 8 years ago
306-ath10k-Ensure-peer_map-references-are-cleaned-up.patch ath10k: merge some pending stability fixes 8 years ago
307-ath10k-Clean-up-peer-when-sta-goes-away.patch ath10k: merge some pending stability fixes 8 years ago
308-ath10k-remove-duplicate-and-unused-rx-rate-flags.patch ath10k: merge some pending stability fixes 8 years ago
309-ath10k-fix-CCK-h-w-rates-for-QCA99X0-and-newer-chips.patch ath10k: merge some pending stability fixes 8 years ago
310-ath10k-improve-tx-scheduling.patch ath10k: merge some more pending upstream fixes 8 years ago
311-ath10k-fix-deadlock-while-processing-rx_in_ord_ind.patch ath10k: merge some more pending upstream fixes 8 years ago
400-ath_move_debug_code.patch mac80211: update to version 2015-06-22 9 years ago
401-ath9k_blink_default.patch mac80211: update to wireless-testing 2015-03-09 9 years ago
402-ath_regd_optional.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
403-world_regd_fixup.patch mac80211: update to 2014-10-08 10 years ago
404-regd_no_assoc_hints.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
405-ath_regd_us.patch mac80211: update to 2014-10-08 10 years ago
406-ath_relax_default_regd.patch mac80211: make it work with 3.18.12+ 9 years ago
410-ath9k_allow_adhoc_and_ap.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
411-ath5k_allow_adhoc_and_ap.patch mac80211: make it work with 3.18.12+ 9 years ago
420-ath5k_disable_fast_cc.patch packages: clean up the package folder 11 years ago
430-add_ath5k_platform.patch packages: clean up the package folder 11 years ago
431-add_platform_eeprom_support_to_ath5k.patch mac80211: make it work with 3.18.12+ 9 years ago
432-ath5k_add_pciids.patch mac80211: update to wireless-testing 2014-09-26 10 years ago
440-ath5k_channel_bw_debugfs.patch mac80211: update to wireless-testing 2015-10-26 9 years ago
500-ath9k_eeprom_debugfs.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
501-ath9k_ahb_init.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
510-ath9k_intr_mitigation_tweak.patch mac80211: update to version 2015-06-22 9 years ago
511-ath9k_reduce_rxbuf.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
512-ath9k_channelbw_debugfs.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
513-ath9k_add_pci_ids.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
522-mac80211_configure_antenna_gain.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
530-ath9k_extra_leds.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
531-ath9k_extra_platform_leds.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
532-ath9k_get_led_polarity_from_platform_data.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
533-mac80211_correct_4addr_skbsize.patch mac80211: fix skb size calculation in 4addr mode (FS#24) 8 years ago
540-ath9k_reduce_ani_interval.patch ath9k: improve noise immunity behavior for older chipsets (ar92xx and earlier), should improve stability 10 years ago
541-ath9k_rx_dma_stop_check.patch mac80211: add pending ath9k/ath10k patches 9 years ago
542-ath9k_debugfs_diag.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
543-ath9k_entropy_from_adc.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
544-ath9k-ar933x-usb-hang-workaround.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
545-ath9k_ani_ws_detect.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
546-ath9k_platform_led_name.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
547-ath9k_led_defstate_fix.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
548-ath9k_enable_gpio_chip.patch treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
549-ath9k_enable_gpio_buttons.patch treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
550-ath9k_add_ar9280_gpio_chip.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0001-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch mac80211: update to 2015-12-03 9 years ago
600-0002-rt2x00-rt2800lib-introduce-RT2800_HAS_HIGH_SHARED_ME.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0003-rt2x00-rt2800-serialize-shared-memory-access.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0004-rt2x00-rt2800lib-fix-beacon-generation-on-RT3593.patch mac80211: update to 2015-12-03 9 years ago
600-0005-rt2x00-rt2800lib-add-hw_beacon_count-field-to-struct.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0006-rt2x00-rt2800lib-init-additional-beacon-offset-regis.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0007-rt2x00-rt2800lib-fix-max-supported-beacon-count-for-.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0008-rt2x00-allow-to-build-rt2800soc-module-for-RT3883.patch mac80211: update to 2015-12-03 9 years ago
600-0009-rt2x00-rt2800lib-enable-support-for-RT3883.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0010-rt2x00-rt2800lib-add-rf_vals-for-RF3853.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0011-rt2x00-rt2800lib-enable-VCO-calibration-for-RF3853.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0012-rt2x00-rt2800lib-add-channel-configuration-function-.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0013-rt2x00-rt2800lib-enable-RF3853-support.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0014-rt2x00-rt2800lib-add-MAC-register-initialization-for.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0015-rt2x00-rt2800soc-fix-rt2800soc_disable_radio-for-RT3.patch mac80211: update to 2015-12-03 9 years ago
600-0016-rt2x00-rt2800lib-add-BBP-register-initialization-for.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0017-rt2x00-rt2800lib-add-RFCSR-initialization-for-RT3883.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0018-rt2x00-rt2800lib-use-the-extended-EEPROM-map-for-RT3.patch mac80211: update to 2015-12-03 9 years ago
600-0019-rt2x00-rt2800lib-force-rf-type-to-RF3853-on-RT3883.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0020-rt2x00-rt2800lib-add-channel-configuration-code-for-.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0021-rt2x00-rt2800lib-fix-txpower_to_dev-function-for-RT3.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0022-rt2x00-rt2800lib-use-correct-txpower-calculation-fun.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0023-rt2x00-rt2800lib-hardcode-txmixer-gain-values-to-zer.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0024-rt2x00-rt2800lib-use-correct-RT-XWI-size-for-RT3883.patch mac80211: update to 2015-12-03 9 years ago
600-0025-rt2x00-rt2800lib-use-correct-beacon-base-for-RT3883.patch mac80211: update to 2015-12-03 9 years ago
600-0026-rt2x00-rt2800lib-use-correct-beacon-count-for-RT3883.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0027-rt2x00-rt2800lib-fix-antenna-configuration-for-RT388.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0028-rt2x00-rt2800lib-fix-LNA-gain-configuration-for-RT38.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0029-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0030-rt2x00-rt2800lib-fix-EEPROM-LNA-validation-for-RT388.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0031-rt2x00-rt2800lib-fix-txpower-compensation-for-RT3883.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
600-0032-rt2x00-rt2800lib-enable-RT2800_HAS_HIGH_SHARED_MEM-f.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
600-0033-rt2x00-rt2800lib-use-high-memory-for-beacons-on-RT38.patch mac80211: update to 2015-12-03 9 years ago
600-0034-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
601-rt2x00-set_pci_mwi.patch mac80211: update to 2015-12-03 9 years ago
602-rt2x00-introduce-rt2x00_platform_h.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
603-rt2x00-introduce-rt2x00eeprom.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
604-rt2x00-of_load_eeprom_filename.patch mac80211: update to 2015-12-03 9 years ago
605-rt2x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch mac80211: update to 2015-12-03 9 years ago
607-rt2x00-allow_disabling_bands_through_platform_data.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
608-add_platform_data_mac_addr.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
609-rt2x00-allow_disabling_bands_through_dts.patch mac80211: update to 2015-12-03 9 years ago
610-rt2x00-fix-rt3352-ext-pa.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
611-rt2x00-rf_vals-rt3352-xtal20.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
612-rt2x00-make-wmac-loadable-via-OF-on-rt288x-305x-SoC.patch mac80211: update to 2015-12-03 9 years ago
615-rt2x00-fix_20mhz_clk.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
616-rt2x00-support-rt5350.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
619-rt2x00-change-led-polarity-from-OF.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
620-rt2x00-add-AP+STA-support.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
620-rt2x00-rt3352-rf-id.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
621-rt2x00-ht20_40_fix.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
622-rt2x00-fix-beacon-bit-balance.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
700-mwl8k-missing-pci-id-for-WNR854T.patch mac80211: update to wireless-testing 2016-01-10 9 years ago
801-libertas-configure-sysfs-links.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
802-libertas-set-wireless-macaddr.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
805-b43-gpio-mask-module-option.patch mac80211: update to 2015-12-03 9 years ago
810-b43_no_pio.patch mac80211: update to 2015-12-03 9 years ago
820-b43-add-antenna-control.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
841-b43-reduce-number-of-RX-slots.patch mac80211: update to 2015-12-03 9 years ago
845-b43-only-use-gpio-0-1-for-led.patch mac80211: update to 2015-12-03 9 years ago
847-b43-always-take-overlapping-devs.patch mac80211: update to 2015-12-03 9 years ago
850-brcmsmac-remove-extra-regulation-restriction.patch mac80211: update to 2015-12-03 9 years ago
860-brcmfmac-add-missing-eth_type_trans-call.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
861-brcmfmac-register-wiphy-s-during-module_init.patch mac80211: update brcmfmac including missing boardrev workaround 8 years ago
862-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch mac80211: brcmfmac: return -ENFILE if interface exists 8 years ago
863-brcmfmac-Disable-power-management.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
910-00-rt2x00-enable-rt2800soc-for-mt7620.patch mac80211: update to 2015-12-03 9 years ago
910-01-add-support-for-mt7620.patch mac80211: update to wireless-testing 2016-05-12 8 years ago
921-ath10k_init_devices_synchronously.patch ath10k: merge some pending stability fixes 8 years ago
930-ath10k_add_tpt_led_trigger.patch ath10k: merge some more pending upstream fixes 8 years ago
936-ath10k_skip_otp_check.patch mac80211: ath10k fix otp check patch 8 years ago
940-mwl8k_init_devices_synchronously.patch mac80211: update to wireless-testing 2016-01-10 9 years ago