<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: [PATCH] cipcb fails to load under 2.4.18
From: Wenzhuo Zhang <wenzhuo,AT,online,DOT,sh,DOT,cn>
Date: Wed, 27 Feb 2002 05:22:40 +0100

I hope it has already gone into the cvs version.

--- cipe-1.5.2/cipe/sock.c.gettime      Wed Feb 27 11:27:03 2002
+++ cipe-1.5.2/cipe/sock.c      Wed Feb 27 11:48:41 2002
@@ -300,7 +300,7 @@
             goto error;
         }
 #ifdef LINUX_21
-       get_fast_time(&n->stamp);
+       do_gettimeofday(&n->stamp);
 #endif
        /* No checkpeer() here because not authenticated! */
        n->h.uh->check=0;
@@ -330,7 +330,7 @@
            dprintk(DEB_INP, (KERN_DEBUG "TW_NEWKEY data=%p len=" FLEN
                               " length=%d\n", n->data, n->len, length));
 #ifdef LINUX_21
-           get_fast_time(&n->stamp);
+           do_gettimeofday(&n->stamp);
 #endif
            skb_trim(n, length);
            checkpeer(c, rsaddr, rsport);

-- 
Wenzhuo
  GnuPG Key ID 0xBA586A68
  Key fingerprint = 89C7 C6DE D956 F978 3F12  A8AF 5847 F840 BA58 6A68





<< | Thread Index | >> ]    [ << | Date Index | >> ]