wok-current diff broadcom-wl/stuff/001-null-pointer-fix.patch @ rev 25673
Up broadcom-wl drivers, add miss driver for mesa-dri (iris, crocus, virtio)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Mar 04 16:57:21 2024 +0000 (4 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/broadcom-wl/stuff/001-null-pointer-fix.patch Mon Mar 04 16:57:21 2024 +0000 1.3 @@ -0,0 +1,27 @@ 1.4 +Description: Fixing null pointer crash 1.5 + 1.6 +Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773713 1.7 +Bug-Ubuntu: https://launchpad.net/bugs/1415880 1.8 +Last-Update: 2015-08-18 1.9 + 1.10 +--- 1.11 + src/wl/sys/wl_linux.c | 2 +- 1.12 + 1 file changed, 1 insertion(+), 1 deletion(-) 1.13 + 1.14 +diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c 1.15 +index 860b935..295156f 100644 1.16 +--- a/src/wl/sys/wl_linux.c 1.17 ++++ b/src/wl/sys/wl_linux.c 1.18 +@@ -2157,8 +2157,8 @@ wl_start(struct sk_buff *skb, struct net_device *dev) 1.19 + wlif = WL_DEV_IF(dev); 1.20 + wl = WL_INFO(dev); 1.21 + 1.22 ++ skb->prev = NULL; 1.23 + if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) { 1.24 +- skb->prev = NULL; 1.25 + 1.26 + TXQ_LOCK(wl); 1.27 + 1.28 +-- 1.29 +1.9.1 1.30 +