From: Florin Malita Date: Fri, 18 May 2007 20:04:33 +0000 (-0400) Subject: [PATCH] libertas: skb dereferenced after netif_rx X-Git-Tag: v2.6.22-rc3~12^2~9^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4bd24b019981394fabb465b0c7932924b83d65;p=pandora-kernel.git [PATCH] libertas: skb dereferenced after netif_rx In libertas_process_rxed_packet() and process_rxed_802_11_packet() the skb is dereferenced after being passed to netif_rx (called from libertas_upload_rx_packet). Spotted by Coverity (1658, 1659). Also, libertas_upload_rx_packet() unconditionally returns 0 so the error check is dead code - might as well take it out and change the signature. Signed-off-by: Florin Malita Signed-off-by: John W. Linville --- Reading git-diff-tree failed