git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
412ed94
)
ip_gre: fix possible use after free
author
Eric Dumazet
<edumazet@google.com>
Thu, 20 Dec 2012 16:00:27 +0000
(16:00 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 21 Dec 2012 21:14:01 +0000
(13:14 -0800)
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>
No differences found