diff options
author | 2009-06-17 12:17:34 +0000 | |
---|---|---|
committer | 2009-06-17 18:46:41 -0700 | |
commit | 603a8bbe62e54108055fca46ecdd611c10c6cd0a (patch) | |
tree | 5d6c6f449cadf7c956f02c399b26460c7c8a20a0 /net/unix/af_unix.c | |
parent | skbuff: skb_mac_header_was_set is always true on >32 bit (diff) | |
download | wireguard-linux-603a8bbe62e54108055fca46ecdd611c10c6cd0a.tar.xz wireguard-linux-603a8bbe62e54108055fca46ecdd611c10c6cd0a.zip |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions