From: Li RongQing Date: Sat, 18 Oct 2014 09:33:38 +0000 (+0800) Subject: ipv6: fix a potential use after free in sit.c X-Git-Tag: omap-for-v3.19/prcm-cleanup~36^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6d4518da371b0d21512ef0f641928d6f99ee70f;p=pandora-kernel.git 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: ca15a078 (sit: generate icmpv6 error when receiving icmpv4 error) Cc: Oussama Ghorbel Signed-off-by: Li RongQing Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed