patch-2.3.41 linux/net/core/skbuff.c
Next file: linux/net/core/sock.c
Previous file: linux/net/core/iovec.c
Back to the patch index
Back to the overall index
- Lines: 51
- Date:
Sat Jan 22 11:54:57 2000
- Orig file:
v2.3.40/linux/net/core/skbuff.c
- Orig date:
Tue Jan 4 13:57:21 2000
diff -u --recursive --new-file v2.3.40/linux/net/core/skbuff.c linux/net/core/skbuff.c
@@ -4,7 +4,7 @@
* Authors: Alan Cox <iiitac@pyr.swan.ac.uk>
* Florian La Roche <rzsfl@rz.uni-sb.de>
*
- * Version: $Id: skbuff.c,v 1.63 2000/01/02 09:15:17 davem Exp $
+ * Version: $Id: skbuff.c,v 1.64 2000/01/16 05:11:03 davem Exp $
*
* Fixes:
* Alan Cox : Fixed the worst of the load balancer bugs.
@@ -61,10 +61,6 @@
#include <asm/uaccess.h>
#include <asm/system.h>
-#ifdef CONFIG_ATM
-#include <linux/atmdev.h>
-#endif
-
/*
* Resource tracking variables
*/
@@ -165,10 +161,6 @@
skb->is_clone = 0;
skb->cloned = 0;
-#ifdef CONFIG_ATM
- ATM_SKB(skb)->iovcnt = 0;
-#endif
-
atomic_set(&skb->users, 1);
atomic_set(skb_datarefp(skb), 1);
return skb;
@@ -206,6 +198,9 @@
skb->nf_debug = 0;
#endif
#endif
+#ifdef CONFIG_NET_SCHED
+ skb->tc_index = 0;
+#endif
memset(skb->cb, 0, sizeof(skb->cb));
skb->priority = 0;
}
@@ -307,6 +302,9 @@
#ifdef CONFIG_NETFILTER_DEBUG
new->nf_debug=old->nf_debug;
#endif
+#endif
+#ifdef CONFIG_NET_SCHED
+ new->tc_index = old->tc_index;
#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)