commit | 19633e129c65e5bb62b1af545c5479afcdb01fc4 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Wed Jun 17 05:23:27 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 17 18:46:03 2009 -0700 |
tree | 6b749f02863fc1ae1d3ec9953e2fe60d1db2064a | |
parent | c564039fd83ea16a86a96d52632794b24849e507 [diff] |
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 <shemminger@vyatta.com> Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>