2006-10-18 07:27:42

by Darryl L. Miles

[permalink] [raw]
Subject: PATCH 2.6.18.1 drivers/net/sk98lin/sky2.c compile fix


This was necessary to make 2.6.18.1 build.

--- linux-2.6.18.1/drivers/net/sk98lin/sky2.c~ 2006-10-17 00:27:02.000000000 +0100
+++ linux-2.6.18.1/drivers/net/sk98lin/sky2.c 2006-10-17 00:27:02.000000000 +0100
@@ -1007,7 +1007,7 @@
SK_DBG_MSG(pAC, SK_DBGMOD_DRV, SK_DBGCAT_DRV_TX_PROGRESS,
("\tGet LE\n"));
#ifdef NETIF_F_TSO
- Mss = skb_shinfo(pSkPacket->pMBuf)->tso_size;
+ Mss = skb_shinfo(pSkPacket->pMBuf)->gso_size;
if (Mss) {
TcpOptLen = ((pSkPacket->pMBuf->h.th->doff - 5) * 4);
IpTcpLen = ((pSkPacket->pMBuf->nh.iph->ihl * 4) +



--
Darryl L. Miles