SOURCES (LINUX_2_6_14): linux-2.6.14-skb_reserve.patch (NEW) - fro...
charles
charles at pld-linux.org
Wed Feb 1 12:03:52 CET 2006
Author: charles Date: Wed Feb 1 11:03:52 2006 GMT
Module: SOURCES Tag: LINUX_2_6_14
---- Log message:
- from 2.6.15.2
Make second arg to skb_reserved() signed.
Some subsystems, such as PPP, can send negative valueshere.
It just happened to work correctly on 32-bit withan unsigned value,
but on 64-bit this explodes.
---- Files affected:
SOURCES:
linux-2.6.14-skb_reserve.patch (NONE -> 1.1.2.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6.14-skb_reserve.patch
diff -u /dev/null SOURCES/linux-2.6.14-skb_reserve.patch:1.1.2.1
--- /dev/null Wed Feb 1 12:03:52 2006
+++ SOURCES/linux-2.6.14-skb_reserve.patch Wed Feb 1 12:03:47 2006
@@ -0,0 +1,11 @@
+--- linux-2.6.14.6/include/linux/skbuff.h.orig 2006-02-01 03:22:45.000000000 +0100
++++ linux-2.6.14.6/include/linux/skbuff.h 2006-02-01 11:41:49.000000000 +0100
+@@ -904,7 +904,7 @@
+ * Increase the headroom of an empty &sk_buff by reducing the tail
+ * room. This is only allowed for an empty buffer.
+ */
+-static inline void skb_reserve(struct sk_buff *skb, unsigned int len)
++static inline void skb_reserve(struct sk_buff *skb, int len)
+ {
+ skb->data += len;
+ skb->tail += len;
================================================================
More information about the pld-cvs-commit
mailing list