diff options
author | Eric Dumazet <edumazet@google.com> | 2013-04-04 15:41:27 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-08 16:00:17 (GMT) |
commit | 22251c73ca63b5b1050724be9b54910c101a5f30 (patch) | |
tree | 0f3ae2864a661d0d3ad178421d897ded5f884ac4 /arch | |
parent | f8075a8c946d11e17bb5d837e2a032206f26ec70 (diff) | |
download | linux-fsl-qoriq-22251c73ca63b5b1050724be9b54910c101a5f30.tar.xz |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions