From: Stephen Hemminger Date: Wed, 17 Jun 2009 05:23:27 +0000 (+0000) Subject: skbuff: skb_mac_header_was_set is always true on >32 bit X-Git-Tag: v2.6.31-rc1~140^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19633e129c65e5bb62b1af545c5479afcdb01fc4;p=pandora-kernel.git skbuff: skb_mac_header_was_set is always true on >32 bit Looking at the crash in log_martians(), one suspect is that the check for mac header being set is not correct. The value of mac_header defaults to 0 on allocation, therefore skb_mac_header_was_set will always be true on platforms using NET_SKBUFF_USES_OFFSET. Signed-off-by: Stephen Hemminger Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller --- Reading git-diff-tree failed