From: Arend van Spriel Date: Thu, 30 Aug 2012 08:05:34 +0000 (+0200) Subject: brcmfmac: fix use of dev_kfree_skb() in irq context X-Git-Tag: v3.6-rc6~18^2~22^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01e3331b30b48fe96d016435707af050700c8421;p=pandora-kernel.git brcmfmac: fix use of dev_kfree_skb() in irq context The USB part of the brcmfmac did a dev_kfree_skb() that resulted in a warning in net/core/skbuff.c: Jul 11 04:53:33 lb-bun-10 kernel: [53282.667745] WARNING: at net/core/skbuff.c:490 skb_release_head_state+0xcc/0xe0() The brcmutil modules provides brcmu_pkt_buf_free_skb() which takes the context into account. This patch makes use of this function instead of dev_kfree_skb(). Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed