From: danborkmann@iogearbox.net Date: Mon, 10 Oct 2011 06:52:46 +0000 (+0000) Subject: af_packet: remove unnecessary BUG_ON() in tpacket_destruct_skb X-Git-Tag: v3.2-rc1~129^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95f5f803b3897f622c4b5f72d554874faf74df12;p=pandora-kernel.git af_packet: remove unnecessary BUG_ON() in tpacket_destruct_skb If skb is NULL, then stack trace is thrown anyway on dereference. Therefore, the stack trace triggered by BUG_ON is duplicate. Signed-off-by: Daniel Borkmann Cc: Eric Dumazet Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed