diff options
author | Eric Dumazet <edumazet@google.com> | 2013-04-04 17:41:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-08 18:00:17 +0200 |
commit | 22251c73ca63b5b1050724be9b54910c101a5f30 (patch) | |
tree | 0f3ae2864a661d0d3ad178421d897ded5f884ac4 /net/irda | |
parent | at86rf230: remove unnecessary / dead code (diff) | |
download | linux-22251c73ca63b5b1050724be9b54910c101a5f30.tar.xz linux-22251c73ca63b5b1050724be9b54910c101a5f30.zip |
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 'net/irda')
0 files changed, 0 insertions, 0 deletions