Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bcm_sta: add patch to fix nullpointer crash with kernel 3.18+
Signed-off-by: Stephan Raue <stephan@openelec.tv>
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
packages/linux-drivers/bcm_sta/patches/bcm_sta-linux-3.18-null-pointer-crash.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff -Naur bcm_sta-6.30.223.248/x86-32/src/wl/sys/wl_linux.c bcm_sta-6.30.223.248.patch/x86-32/src/wl/sys/wl_linux.c | ||
--- bcm_sta-6.30.223.248/x86-32/src/wl/sys/wl_linux.c 2014-06-26 12:41:38.000000000 +0200 | ||
+++ bcm_sta-6.30.223.248.patch/x86-32/src/wl/sys/wl_linux.c 2015-09-04 19:58:10.496600089 +0200 | ||
@@ -2157,8 +2157,8 @@ | ||
wlif = WL_DEV_IF(dev); | ||
wl = WL_INFO(dev); | ||
|
||
+ skb->prev = NULL; | ||
if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) { | ||
- skb->prev = NULL; | ||
|
||
TXQ_LOCK(wl); | ||
|
||
diff -Naur bcm_sta-6.30.223.248/x86-64/src/wl/sys/wl_linux.c bcm_sta-6.30.223.248.patch/x86-64/src/wl/sys/wl_linux.c | ||
--- bcm_sta-6.30.223.248/x86-64/src/wl/sys/wl_linux.c 2014-06-26 12:42:08.000000000 +0200 | ||
+++ bcm_sta-6.30.223.248.patch/x86-64/src/wl/sys/wl_linux.c 2015-09-04 19:56:31.957374783 +0200 | ||
@@ -2157,8 +2157,8 @@ | ||
wlif = WL_DEV_IF(dev); | ||
wl = WL_INFO(dev); | ||
|
||
+ skb->prev = NULL; | ||
if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) { | ||
- skb->prev = NULL; | ||
|
||
TXQ_LOCK(wl); | ||
|