--- net/ipv6/tunnel6.c~	2008-08-20 20:16:13.000000000 +0200
+++ net/ipv6/tunnel6.c	2008-09-30 01:31:21.577876277 +0200
@@ -109,8 +109,8 @@
 {
 	struct xfrm6_tunnel *handler;
 
-	if (!pskb_may_pull(skb, sizeof(struct ipv6hdr)))
-		goto drop;
+	if (!pskb_may_pull(skb, sizeof(struct iphdr)))
+	   goto drop; 
 
 	for (handler = tunnel46_handlers; handler; handler = handler->next)
 		if (!handler->handler(skb))

