commit | 603a8bbe62e54108055fca46ecdd611c10c6cd0a | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Wed Jun 17 12:17:34 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 17 18:46:41 2009 -0700 |
tree | 5d6c6f449cadf7c956f02c399b26460c7c8a20a0 | |
parent | 19633e129c65e5bb62b1af545c5479afcdb01fc4 [diff] |
skbuff: don't corrupt mac_header on skb expansion The skb mac_header field is sometimes NULL (or ~0u) as a sentinel value. The places where skb is expanded add an offset which would change this flag into an invalid pointer (or offset). Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>