SOURCES (LINUX_2_6): linux-2.6-sk98lin_v10.0.4.3.patch - use ip_hdr()
baggins
baggins at pld-linux.org
Mon Aug 13 14:04:14 CEST 2007
Author: baggins Date: Mon Aug 13 12:04:14 2007 GMT
Module: SOURCES Tag: LINUX_2_6
---- Log message:
- use ip_hdr()
---- Files affected:
SOURCES:
linux-2.6-sk98lin_v10.0.4.3.patch (1.1 -> 1.1.2.1)
---- Diffs:
================================================================
Index: SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch
diff -u SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch:1.1 SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch:1.1.2.1
--- SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch:1.1 Tue Aug 7 20:21:12 2007
+++ SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch Mon Aug 13 14:04:09 2007
@@ -100,8 +100,8 @@
+ *
+ * History:
+ * $Log$
-+ * Revision 1.1 2007/08/07 18:21:12 baggins
-+ * - new from http://www.skd.de/
++ * Revision 1.1.2.1 2007/08/13 12:04:09 baggins
++ * - use ip_hdr()
+ *
+ * Revision 1.1.2.3 2006/11/17 14:39:31 malthoff
+ * Add defines for host control register CPU states.
@@ -14831,8 +14831,8 @@
+# History:
+#
+# $Log$
-+# Revision 1.1 2007/08/07 18:21:12 baggins
-+# - new from http://www.skd.de/
++# Revision 1.1.2.1 2007/08/13 12:04:09 baggins
++# - use ip_hdr()
+#
+# Revision 1.1.4.3 2006/12/14 15:23:13 mlindner
+# Add: Enable Yukon Extreme. Define SK_EXTREME enabled
@@ -57879,7 +57879,7 @@
+ if (!HW_IS_EXT_LE_FORMAT(pAC)) {
+#endif
+ TcpOptLen = ((pSkPacket->pMBuf->h.th->doff - 5) * 4);
-+ IpTcpLen = ((pSkPacket->pMBuf->nh.iph->ihl * 4) +
++ IpTcpLen = ((ip_hdr(pSkPacket->pMBuf)->ihl * 4) +
+ sizeof(struct tcphdr));
+ Mss += (TcpOptLen + IpTcpLen + C_LEN_ETHERMAC_HEADER);
+#ifdef SK_EXTREME
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch?r1=1.1&r2=1.1.2.1&f=u
More information about the pld-cvs-commit
mailing list