diff options
author | Eric Dumazet <edumazet@google.com> | 2017-01-24 01:43:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-24 20:53:24 +0100 |
commit | 21b995a9cb093fff33ec91d7cb3822b882a90a1e (patch) | |
tree | e7f434a5d9961bd65a461dffe8c7a010dd74ecca /net/core | |
parent | virtio_net: fix PAGE_SIZE > 64k (diff) | |
download | linux-21b995a9cb093fff33ec91d7cb3822b882a90a1e.tar.xz linux-21b995a9cb093fff33ec91d7cb3822b882a90a1e.zip |
ip6_tunnel: must reload ipv6h in ip6ip6_tnl_xmit()
Since ip6_tnl_parse_tlv_enc_lim() can call pskb_may_pull(),
we must reload any pointer that was related to skb->head
(or skb->data), or risk use after free.
Fixes: c12b395a4664 ("gre: Support GRE over IPv6")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Dmitry Kozlov <xeb@mail.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions