patch-2.4.9 linux/net/ipv4/ip_output.c
Next file: linux/net/ipv4/ip_sockglue.c
Previous file: linux/net/core/iovec.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Sun Aug 12 11:23:32 2001
- Orig file:
v2.4.8/linux/net/ipv4/ip_output.c
- Orig date:
Sun Aug 12 13:28:01 2001
diff -u --recursive --new-file v2.4.8/linux/net/ipv4/ip_output.c linux/net/ipv4/ip_output.c
@@ -5,7 +5,7 @@
*
* The Internet Protocol (IP) output module.
*
- * Version: $Id: ip_output.c,v 1.96 2001/08/03 22:20:39 davem Exp $
+ * Version: $Id: ip_output.c,v 1.97 2001/08/09 17:53:40 davem Exp $
*
* Authors: Ross Biro, <bir7@leland.Stanford.Edu>
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -37,6 +37,7 @@
* and more readibility.
* Marc Boucher : When call_out_firewall returns FW_QUEUE,
* silently drop skb instead of failing with -EPERM.
+ * Detlev Wengorz : Copy protocol for fragments.
*/
#include <asm/uaccess.h>
@@ -805,6 +806,8 @@
skb_put(skb2, len + hlen);
skb2->nh.raw = skb2->data;
skb2->h.raw = skb2->data + hlen;
+ skb2->protocol = skb->protocol;
+ skb2->security = skb->security;
/*
* Charge the memory for the fragment to any owner
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)