diff options
author | Eric Dumazet <edumazet@google.com> | 2012-12-20 20:00:27 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-22 01:14:01 +0400 |
commit | f7e75ba1772bc712af0070655ffd8b09906993b5 (patch) | |
tree | ef32b318efe584f845f05eb7f65daca803abb6a1 /include | |
parent | 412ed94744d16806fbec3bd250fd94e71cde5a1f (diff) | |
download | linux-f7e75ba1772bc712af0070655ffd8b09906993b5.tar.xz |
ip_gre: fix possible use after free
Once skb_realloc_headroom() is called, tiph might point to freed memory.
Cache tiph->ttl value before the reallocation, to avoid unexpected
behavior.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions