From: Piotr Haber Date: Wed, 28 Nov 2012 20:44:05 +0000 (+0100) Subject: brcmsmac: handle packet drop during transmit correctly X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~56^2^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4dea35e34f5f46e1701156153a09cce429d1ea9;p=pandora-kernel.git brcmsmac: handle packet drop during transmit correctly The .tx() callback function can drop packets when there is no space in the DMA fifo. Propagate that information to caller and make sure the freed sk_buff reference is not accessed. Reviewed-by: Arend van Spriel Reviewed-by: Pieter-Paul Giesberts Signed-off-by: Piotr Haber Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed