--- linuxcniapi.c.orig 2005-11-25 10:24:28.000000000 -0600 +++ linuxcniapi.c 2005-11-25 10:21:52.000000000 -0600 @@ -274,6 +274,7 @@ PBINDING pBinding; LPFRAGMENTBUFFER lpMacFragment; struct sk_buff *skb = NULL; + struct timeval stamp; unsigned char *pIP = NULL, *pMac = NULL; /* we need to build the actual sk_buff from the packet structure */ @@ -289,7 +290,8 @@ goto exit_gracefully; } /* move the data into the packet */ - do_gettimeofday(&skb->stamp); + do_gettimeofday(&stamp); + skb_set_timestamp(skb, &stamp); pIP = skb_put(skb, lpPacketDescriptor->uiPacketSize); @@ -386,6 +388,7 @@ PBINDING pBinding,pVABinding; LPFRAGMENTBUFFER lpMacFragment; struct sk_buff *skb; + struct timeval stamp; unsigned char *pIP = NULL, *pMac = NULL; int tmp_rc = 0; @@ -429,7 +432,8 @@ CniGetPacketData(Packet, 0, lpPacketDescriptor->uiPacketSize, pIP); /* put the mac header on */ - do_gettimeofday(&skb->stamp); + do_gettimeofday(&stamp); + skb_set_timestamp(skb, &stamp); skb->dev = pBinding->pDevice;