[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [patch] 2.4.9-ac10-G4



I mailed you a patch this morning but you apparently missed it. E7 was
broken and G4 is too. A line in the ETag code was moved breaking ETags. I
don't know when it changed but noticed it in E7. Anybody having either E7
or G4 and who is using ETags (which you should in real life environments)
should apply the patch. E7 and G4 will give funky results because the
ETags get truncated and updated files might have the same ETag as a
previous version (luckily enough this requires them to remain same size
before it can happen which is unlikely enough to stop most problems).

Regards,

Dirk Moerenhout ///// System Administrator ///// Planet Internet NV

On Sat, 8 Sep 2001, Ingo Molnar wrote:

>
> i've uploaded -G4 to the usual place:
>
>   http://redhat.com/~mingo/TUX-patches/tux2-full-2.4.9-G4.bz2
>   http://redhat.com/~mingo/TUX-patches/tux2-full-2.4.9-ac10-G4.bz2
>
> -G4 is a merge against -ac10, plus it has a rewritten TUX/FTP LIST/NLST
> implementation. TUX/FTP now includes a kernel-space implementation of
> 'ls':
>
>  ftp> ls
>  227 Entering Passive Mode (10,0,7,5,128,15).
>  150 Opening ASCII mode data connection.
>  drwxr-xr-x    2     0     0     4096 Sep 08 16:57 .
>  drwxr-xr-x   10    99    99     4096 Sep 08 14:03 ..
>  -rw-r--r--    1     0     0       29 Sep 06 08:08 file.html
>  -rwxr-xr-x    1     0     0      139 Sep 08 16:42 dotest
>  -rw-r--r--    1     0     0        0 Sep 08 16:57 7
>  -rw-r--r--    1     0     0        0 Sep 08 16:57 2
>  -rw-r--r--    1     0     0        0 Sep 08 16:57 5
>  -rw-r--r--    1     0     0        0 Sep 08 16:57 6
>  226 Transfer complete.
>  ftp>
>
> the special .TUX-LIST and .TUX-NLST files are not needed anymore. The new
> 'ls' implementation is pretty fast so no caching is planned for the time
> being.
>
> as always, bugreports, fixes, comments, suggestions welcome.
>
> 	Ingo
>
>
>
> _______________________________________________
> tux-list mailing list
> tux-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/tux-list
>
--- linux-2.4.9-ac9-tux-E7-bugged/net/tux/input.c	Sat Sep  8 12:12:59 2001
+++ linux/net/tux/input.c	Sat Sep  8 12:09:24 2001
@@ -272,11 +272,10 @@
 		} while (num);
 
 		req->lendigits = nr_digits;
+		req->etaglen = nr_digits;
 
 		while (nr_digits)
 			*etag_p++ = digits[--nr_digits];
-
-		req->etaglen = nr_digits;
 
 		*etag_p++ = '-';
 		num = req->mtime;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []