Revision a6d4518da371b0d21512ef0f641928d6f99ee70f authored by Li RongQing on 18 October 2014, 09:33:38 UTC, committed by David S. Miller on 18 October 2014, 17:04:09 UTC
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 <ghorbel@pivasoftware.com>
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>
1 parent fc6fb41
History

back to top