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
001-fix_build.patch
002-change_allconfig.patch
003-remove_bogus_modparams.patch
004-header-backport-GENL_UNS_ADMIN_PERM.patch
005-header-backport-nla_put_u64_64bit-and-nla_put_64bit.patch
006-compat-bump-rhashtable-backport-version-due-to-API-c.patch
007-fix_duplicate_skcipher_backport.patch
010-disable_rfkill.patch
030-rt2x00_options.patch
040-brcmutil_option.patch
050-lib80211_option.patch
060-no_local_ssb_bcma.patch
070-ath_common_config.patch
100-remove-cryptoapi-dependencies.patch
110-mac80211_keep_keys_on_stop_ap.patch
120-cfg80211_allow_perm_addr_change.patch
150-disable_addr_notifier.patch
201-ath5k-WAR-for-AR71xx-PCI-bug.patch
210-ap_scan.patch
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
303-mac80211-mesh-flush-mesh-paths-unconditionally.patch
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
401-ath9k_blink_default.patch
402-ath_regd_optional.patch
403-world_regd_fixup.patch
404-regd_no_assoc_hints.patch
405-ath_regd_us.patch
406-ath_relax_default_regd.patch
410-ath9k_allow_adhoc_and_ap.patch
411-ath5k_allow_adhoc_and_ap.patch
420-ath5k_disable_fast_cc.patch
430-add_ath5k_platform.patch
431-add_platform_eeprom_support_to_ath5k.patch
432-ath5k_add_pciids.patch
440-ath5k_channel_bw_debugfs.patch
500-ath9k_eeprom_debugfs.patch
501-ath9k_ahb_init.patch
510-ath9k_intr_mitigation_tweak.patch
511-ath9k_reduce_rxbuf.patch
512-ath9k_channelbw_debugfs.patch
513-ath9k_add_pci_ids.patch
522-mac80211_configure_antenna_gain.patch
530-ath9k_extra_leds.patch
531-ath9k_extra_platform_leds.patch
532-ath9k_get_led_polarity_from_platform_data.patch
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
541-ath9k_rx_dma_stop_check.patch
542-ath9k_debugfs_diag.patch
543-ath9k_entropy_from_adc.patch
544-ath9k-ar933x-usb-hang-workaround.patch
545-ath9k_ani_ws_detect.patch
546-ath9k_platform_led_name.patch
547-ath9k_led_defstate_fix.patch
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
600-0001-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch
600-0002-rt2x00-rt2800lib-introduce-RT2800_HAS_HIGH_SHARED_ME.patch
600-0003-rt2x00-rt2800-serialize-shared-memory-access.patch
600-0004-rt2x00-rt2800lib-fix-beacon-generation-on-RT3593.patch
600-0005-rt2x00-rt2800lib-add-hw_beacon_count-field-to-struct.patch
600-0006-rt2x00-rt2800lib-init-additional-beacon-offset-regis.patch
600-0007-rt2x00-rt2800lib-fix-max-supported-beacon-count-for-.patch
600-0008-rt2x00-allow-to-build-rt2800soc-module-for-RT3883.patch
600-0009-rt2x00-rt2800lib-enable-support-for-RT3883.patch
600-0010-rt2x00-rt2800lib-add-rf_vals-for-RF3853.patch
600-0011-rt2x00-rt2800lib-enable-VCO-calibration-for-RF3853.patch
600-0012-rt2x00-rt2800lib-add-channel-configuration-function-.patch
600-0013-rt2x00-rt2800lib-enable-RF3853-support.patch
600-0014-rt2x00-rt2800lib-add-MAC-register-initialization-for.patch
600-0015-rt2x00-rt2800soc-fix-rt2800soc_disable_radio-for-RT3.patch
600-0016-rt2x00-rt2800lib-add-BBP-register-initialization-for.patch
600-0017-rt2x00-rt2800lib-add-RFCSR-initialization-for-RT3883.patch
600-0018-rt2x00-rt2800lib-use-the-extended-EEPROM-map-for-RT3.patch
600-0019-rt2x00-rt2800lib-force-rf-type-to-RF3853-on-RT3883.patch
600-0020-rt2x00-rt2800lib-add-channel-configuration-code-for-.patch
600-0021-rt2x00-rt2800lib-fix-txpower_to_dev-function-for-RT3.patch
600-0022-rt2x00-rt2800lib-use-correct-txpower-calculation-fun.patch
600-0023-rt2x00-rt2800lib-hardcode-txmixer-gain-values-to-zer.patch
600-0024-rt2x00-rt2800lib-use-correct-RT-XWI-size-for-RT3883.patch
600-0025-rt2x00-rt2800lib-use-correct-beacon-base-for-RT3883.patch
600-0026-rt2x00-rt2800lib-use-correct-beacon-count-for-RT3883.patch
600-0027-rt2x00-rt2800lib-fix-antenna-configuration-for-RT388.patch
600-0028-rt2x00-rt2800lib-fix-LNA-gain-configuration-for-RT38.patch
600-0029-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch
600-0030-rt2x00-rt2800lib-fix-EEPROM-LNA-validation-for-RT388.patch
600-0031-rt2x00-rt2800lib-fix-txpower-compensation-for-RT3883.patch
600-0032-rt2x00-rt2800lib-enable-RT2800_HAS_HIGH_SHARED_MEM-f.patch
600-0033-rt2x00-rt2800lib-use-high-memory-for-beacons-on-RT38.patch
600-0034-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch
601-rt2x00-set_pci_mwi.patch
602-rt2x00-introduce-rt2x00_platform_h.patch
603-rt2x00-introduce-rt2x00eeprom.patch
604-rt2x00-of_load_eeprom_filename.patch
605-rt2x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch
607-rt2x00-allow_disabling_bands_through_platform_data.patch
608-add_platform_data_mac_addr.patch
609-rt2x00-allow_disabling_bands_through_dts.patch
610-rt2x00-fix-rt3352-ext-pa.patch
611-rt2x00-rf_vals-rt3352-xtal20.patch
612-rt2x00-make-wmac-loadable-via-OF-on-rt288x-305x-SoC.patch
615-rt2x00-fix_20mhz_clk.patch
616-rt2x00-support-rt5350.patch
619-rt2x00-change-led-polarity-from-OF.patch
620-rt2x00-add-AP+STA-support.patch
620-rt2x00-rt3352-rf-id.patch
621-rt2x00-ht20_40_fix.patch
622-rt2x00-fix-beacon-bit-balance.patch
700-mwl8k-missing-pci-id-for-WNR854T.patch
801-libertas-configure-sysfs-links.patch
802-libertas-set-wireless-macaddr.patch
805-b43-gpio-mask-module-option.patch
810-b43_no_pio.patch
820-b43-add-antenna-control.patch
841-b43-reduce-number-of-RX-slots.patch
845-b43-only-use-gpio-0-1-for-led.patch
847-b43-always-take-overlapping-devs.patch
850-brcmsmac-remove-extra-regulation-restriction.patch
860-brcmfmac-add-missing-eth_type_trans-call.patch
861-brcmfmac-register-wiphy-s-during-module_init.patch
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
910-00-rt2x00-enable-rt2800soc-for-mt7620.patch
910-01-add-support-for-mt7620.patch
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