patch-1.3.18 linux/net/ipv4/ip.c
Next file: linux/net/ipv4/ip_fw.c
Previous file: linux/net/ipv4/arp.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Fri Aug 11 19:02:18 1995
- Orig file:
v1.3.17/linux/net/ipv4/ip.c
- Orig date:
Wed Aug 9 14:55:44 1995
diff -u --recursive --new-file v1.3.17/linux/net/ipv4/ip.c linux/net/ipv4/ip.c
@@ -87,6 +87,7 @@
* Alan Cox : Fixed multicast (by popular demand 8))
* Alan Cox : Fixed forwarding (by even more popular demand 8))
* Alan Cox : Fixed SNMP statistics [I think]
+ * Gerhard Koerting : IP fragmentation forwarding fix
*
*
*
@@ -987,6 +988,7 @@
*/
iph = (struct iphdr *)(skb2->h.raw/*+dev->hard_header_len*/);
iph->frag_off = htons((offset >> 3));
+ skb2->ip_hdr = iph;
/*
* Added AC : If we are fragmenting a fragment thats not the
* last fragment then keep MF on each bit
@@ -2819,7 +2821,7 @@
#ifdef CONFIG_IP_MULTICAST
proc_net_register(&(struct proc_dir_entry)
- { PROC_NET_IGMP, ip_mc_procinfo, 4, "igmp"});
+ { PROC_NET_IGMP, 4, "igmp", ip_mc_procinfo });
#endif
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this