SOURCES (LINUX_2_6): kernel-layer7.patch - skb_tail_pointer()
baggins
baggins at pld-linux.org
Mon Aug 13 15:02:05 CEST 2007
Author: baggins Date: Mon Aug 13 13:02:05 2007 GMT
Module: SOURCES Tag: LINUX_2_6
---- Log message:
- skb_tail_pointer()
---- Files affected:
SOURCES:
kernel-layer7.patch (1.1.2.3 -> 1.1.2.4)
---- Diffs:
================================================================
Index: SOURCES/kernel-layer7.patch
diff -u SOURCES/kernel-layer7.patch:1.1.2.3 SOURCES/kernel-layer7.patch:1.1.2.4
--- SOURCES/kernel-layer7.patch:1.1.2.3 Thu Aug 9 21:47:22 2007
+++ SOURCES/kernel-layer7.patch Mon Aug 13 15:02:00 2007
@@ -489,7 +489,7 @@
+
+ /* now that the skb is linearized, it's safe to set these. */
+ app_data = skb->data + app_data_offset(skb);
-+ appdatalen = skb->tail - app_data;
++ appdatalen = skb_tail_pointer(skb) - app_data;
+
+ spin_lock_bh(&list_lock);
+ /* the return value gets checked later, when we're ready to use it */
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/kernel-layer7.patch?r1=1.1.2.3&r2=1.1.2.4&f=u
More information about the pld-cvs-commit
mailing list