]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: fix a potential use after free in ip6_offload.c
authorLi RongQing <roy.qing.li@gmail.com>
Sat, 18 Oct 2014 09:27:42 +0000 (17:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Oct 2014 17:04:08 +0000 (13:04 -0400)
commit49e3dacb22b04a7010a3f01872d647fb6de55593
tree8814838d267283327e457d54ff7cfe99fee57f76
parent9bc02262930fe9530e8b656a7313ca40808b1caf
ipv6: fix a potential use after free in ip6_offload.c

pskb_may_pull() maybe change skb->data and make opth pointer oboslete,
so set the opth again

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_offload.c