openwrtv3/package/kernel
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
..
acx-mac80211 packages: prefer http over git for git protocol 2016-06-22 19:32:06 +02:00
ar7-atm package: flag further target specific packages as nonshared 2016-04-26 23:26:43 +02:00
avila-wdt treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
brcm2708-gpu-fw brcm2708-gpu-fw: update to latest version 2016-06-08 19:09:58 +02:00
broadcom-wl treewide: replace jow@openwrt.org with jo@mein.io 2016-06-07 11:42:52 +02:00
button-hotplug treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
ep80579-drivers packages: clean up the package folder 2013-06-21 16:54:37 +00:00
gpio-button-hotplug treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
hostap-driver hostap-driver: mark as broken, it causes extra bloat in hostapd and is probably not used anymore 2016-06-15 18:27:44 +02:00
i2c-gpio-custom package/i2c-gpio-custom: fix checkpatch errors in module source 2013-09-02 08:45:30 +00:00
kmod-sched-cake packages: prefer http over git for git protocol 2016-06-22 19:32:06 +02:00
lantiq lantiq: ltq-atm: fix xrx200 depends 2016-06-20 11:45:44 +02:00
linux rtl8192su-firmware: move firmware to own package 2016-06-25 19:20:16 +02:00
mac80211 mac80211: fix skb size calculation in 4addr mode (FS#24) 2016-06-28 22:43:22 +02:00
mmc_over_gpio package: kernel: update dependencies for 4.4 2015-12-02 22:19:31 +00:00
mt76 mt76: update to the latest version, fixes a SMPS handling issue 2016-06-17 14:51:11 +02:00
mwlwifi mwlwifi: remove the a-mpdu failure messages entirely instead of hiding them in the debug log 2016-05-22 15:51:21 +02:00
om-watchdog package/om-watchdog: add OpenMesh MR1750v2 support 2016-05-23 12:19:25 +02:00
rotary-gpio-custom package/rotary-gpio-custom: fix checkpatch errors module source 2013-09-02 08:45:32 +00:00
rtc-rv5c386a packages: clean up the package folder 2013-06-21 16:54:37 +00:00
spi-gpio-custom spi-gpio-custom: fix section mismatch 2016-03-05 16:23:19 +00:00
trelay treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
w1-gpio-custom w1-gpio-custom: Fix uninitialised variable causing 1-wire to not bind to GPIO 2015-05-23 15:29:20 +00:00
wrt55agv2-spidevs Rename 'atheros' target to 'ath25' 2015-03-13 03:02:28 +00:00