brcmutil: simplify brcmu_pkt_free_skb()
authorArend van Spriel <arend@broadcom.com>
Wed, 17 Apr 2013 19:25:52 +0000 (21:25 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Apr 2013 19:20:21 +0000 (15:20 -0400)
commit130e380b4470d5c704b492a2beb631d84c93bf09
tree883d89eac87a1fdd52d3c52f8695dbeb5ce443e2
parenta652bf0381ae003d37628dac6dc5e4593ca535b7
brcmutil: simplify brcmu_pkt_free_skb()

The function brcmu_pkt_free_skb() use skb->destructor to decide
how the sk_buff should be freed. However, when running AP mode
with iptables configured this results in a kernel warning.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmutil/utils.c