From: Hugo Osvaldo Barrera Downloaded from https://gist.github.com/hobarrera/ac0e6225210ac5bb13f6#file-broadcom-sta-6-30-223-248-linux-3-18-null-pointer-crash-patch -- Index: broadcom-sta/amd64/src/wl/sys/wl_linux.c =================================================================== --- broadcom-sta.orig/amd64/src/wl/sys/wl_linux.c +++ broadcom-sta/amd64/src/wl/sys/wl_linux.c @@ -2162,8 +2162,8 @@ wl_start(struct sk_buff *skb, struct net 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);