SOURCES (LINUX_2_6): linux-2.6-sk98lin_v10.0.4.3.patch - tcp_hdr()

baggins baggins at pld-linux.org
Mon Aug 13 14:37:38 CEST 2007


Author: baggins                      Date: Mon Aug 13 12:37:38 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- tcp_hdr()

---- Files affected:
SOURCES:
   linux-2.6-sk98lin_v10.0.4.3.patch (1.1.2.1 -> 1.1.2.2) 

---- 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.2.1 SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch:1.1.2.2
--- SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch:1.1.2.1	Mon Aug 13 14:04:09 2007
+++ SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch	Mon Aug 13 14:37:33 2007
@@ -100,8 +100,8 @@
 + *
 + * History:
 + * $Log$
-+ * Revision 1.1.2.1  2007/08/13 12:04:09  baggins
-+ * - use ip_hdr()
++ * Revision 1.1.2.2  2007/08/13 12:37:33  baggins
++ * - tcp_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.2.1  2007/08/13 12:04:09  baggins
-+#	- use ip_hdr()
++#	Revision 1.1.2.2  2007/08/13 12:37:33  baggins
++#	- tcp_hdr()
 +#	
 +#	Revision 1.1.4.3  2006/12/14 15:23:13  mlindner
 +#	Add: Enable Yukon Extreme. Define SK_EXTREME enabled
@@ -57878,7 +57878,7 @@
 +#ifdef SK_EXTREME
 +				if (!HW_IS_EXT_LE_FORMAT(pAC)) {
 +#endif
-+					TcpOptLen = ((pSkPacket->pMBuf->h.th->doff - 5) * 4);
++					TcpOptLen = ((tcp_hdr(pSkPacket->pMBuf)->doff - 5) * 4);
 +					IpTcpLen  = ((ip_hdr(pSkPacket->pMBuf)->ihl * 4) + 
 +						sizeof(struct tcphdr));
 +					Mss += (TcpOptLen + IpTcpLen + C_LEN_ETHERMAC_HEADER);
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/linux-2.6-sk98lin_v10.0.4.3.patch?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list