patch-2.4.19 linux-2.4.19/net/ipv4/ip_input.c
Next file: linux-2.4.19/net/ipv4/ip_output.c
Previous file: linux-2.4.19/net/ipv4/ip_gre.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Fri Aug 2 17:39:46 2002
- Orig file:
linux-2.4.18/net/ipv4/ip_input.c
- Orig date:
Mon Feb 25 11:38:14 2002
diff -urN linux-2.4.18/net/ipv4/ip_input.c linux-2.4.19/net/ipv4/ip_input.c
@@ -224,8 +224,6 @@
nf_debug_ip_local_deliver(skb);
#endif /*CONFIG_NETFILTER_DEBUG*/
- if (!pskb_may_pull(skb, ihl))
- goto out;
__skb_pull(skb, ihl);
#ifdef CONFIG_NETFILTER
@@ -279,7 +277,6 @@
sock_put(raw_sk);
} else if (!flag) { /* Free and report errors */
icmp_send(skb, ICMP_DEST_UNREACH, ICMP_PROT_UNREACH, 0);
-out:
kfree_skb(skb);
}
}
@@ -346,7 +343,6 @@
goto drop;
iph = skb->nh.iph;
- skb->ip_summed = 0;
if (ip_options_compile(NULL, skb))
goto inhdr_error;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)