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