commit | 22251c73ca63b5b1050724be9b54910c101a5f30 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Apr 04 15:41:27 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 08 12:00:17 2013 -0400 |
tree | 0f3ae2864a661d0d3ad178421d897ded5f884ac4 | |
parent | f8075a8c946d11e17bb5d837e2a032206f26ec70 [diff] |
ip_gre: fix a possible crash in parse_gre_header() pskb_may_pull() can change skb->head, so we must init iph/greh after calling it. Bug added in commit c54419321455 (GRE: Refactor GRE tunneling code.) Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>