Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipv6: fix a potential use after free in sit.c
pskb_may_pull() maybe change skb->data and make iph pointer oboslete, fix it by geting ip header length directly. Fixes: ca15a07 (sit: generate icmpv6 error when receiving icmpv4 error) Cc: Oussama Ghorbel <[email protected]> Signed-off-by: Li RongQing <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information