Advertisement
Guest User

null-pointer-crash.patch

a guest
Jan 20th, 2015
1,521
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- a/src/wl/sys/wl_linux.c 2015-01-06 12:33:42.981659618 +0100
  2. +++ b/src/wl/sys/wl_linux.c 2015-01-06 12:34:05.647395418 +0100
  3. @@ -2157,8 +2157,8 @@
  4. wlif = WL_DEV_IF(dev);
  5. wl = WL_INFO(dev);
  6.  
  7. + skb->prev = NULL;
  8. if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) {
  9. - skb->prev = NULL;
  10.  
  11. TXQ_LOCK(wl);
Advertisement
RAW Paste Data Copied
Advertisement