broadcom-wl-6.30.223.271-fix-null-pointer-crash.patch 788 B

12345678910111213141516171819202122232425
  1. Description: Fixing null pointer crash
  2. Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773713
  3. Bug-Ubuntu: https://launchpad.net/bugs/1415880
  4. Last-Update: 2015-08-18
  5. ---
  6. src/wl/sys/wl_linux.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff -Nurp broadcom-wl-6.30.223.271.orig/src/wl/sys/wl_linux.c broadcom-wl-6.30.223.271/src/wl/sys/wl_linux.c
  9. --- broadcom-wl-6.30.223.271.orig/src/wl/sys/wl_linux.c 2015-09-19 01:47:30.000000000 +0300
  10. +++ broadcom-wl-6.30.223.271/src/wl/sys/wl_linux.c 2020-01-11 01:12:32.543692150 +0200
  11. @@ -2165,8 +2165,8 @@ wl_start(struct sk_buff *skb, struct net
  12. wlif = WL_DEV_IF(dev);
  13. wl = WL_INFO(dev);
  14. + skb->prev = NULL;
  15. if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) {
  16. - skb->prev = NULL;
  17. TXQ_LOCK(wl);