diff options
author | Jelle Licht <jlicht@fsfe.org> | 2021-11-29 19:33:44 +0100 |
---|---|---|
committer | Jelle Licht <jlicht@fsfe.org> | 2021-11-29 19:33:44 +0100 |
commit | f99d5fabd3baee4f378aaf83f13c589b76337a18 (patch) | |
tree | 0d6302d99d4e4abb4ed58f15ef9d0906dec763b1 /guix/nongnu/packages/patches/broadcom-sta-null-pointer-fix.patch | |
parent | 3ec1e7f16590c3b681d6cb3b110b0d9c115586ea (diff) |
[WIP] Move channel to "guix" subdirectory.
Diffstat (limited to 'guix/nongnu/packages/patches/broadcom-sta-null-pointer-fix.patch')
-rw-r--r-- | guix/nongnu/packages/patches/broadcom-sta-null-pointer-fix.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/guix/nongnu/packages/patches/broadcom-sta-null-pointer-fix.patch b/guix/nongnu/packages/patches/broadcom-sta-null-pointer-fix.patch new file mode 100644 index 00000000..adef19f3 --- /dev/null +++ b/guix/nongnu/packages/patches/broadcom-sta-null-pointer-fix.patch @@ -0,0 +1,27 @@ +Description: Fixing null pointer crash + +Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773713 +Bug-Ubuntu: https://launchpad.net/bugs/1415880 +Last-Update: 2015-08-18 + +--- + src/wl/sys/wl_linux.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c +index 860b935..295156f 100644 +--- a/src/wl/sys/wl_linux.c ++++ b/src/wl/sys/wl_linux.c +@@ -2157,8 +2157,8 @@ wl_start(struct sk_buff *skb, struct net_device *dev) + 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); + +-- +1.9.1 + |