+ static void icmp_ping_of_death(struct sk_buff *skb)
+ {
+- struct icmphdr *icmph = skb_transport_header(skb);
+- struct iphdr *iph = skb_network_header(skb);
++ struct icmphdr *icmph = (struct icmphdr *)skb_transport_header(skb);
++ struct iphdr *iph = (struct iphdr *)skb_network_header(skb);
+ int doit = 0;
+
+ #if 0
+@@ -1147,8 +1147,6 @@ static const struct icmp_control icmp_po
+ },
+ #ifdef CONFIG_ICMP_IPOD
+ [6] = {
+- .output_entry = ICMP_MIB_DUMMY,
+- .input_entry = ICMP_MIB_DUMMY,
+ .handler = icmp_ping_of_death,
+ .error = 1,
+ },