[OpenAFS-devel] fileserver loop

Thomas Mueller thomas.mueller@hrz.tu-chemnitz.de
Wed, 21 Aug 2002 13:56:20 +0200 (MEST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--1837505224-416119471-1029930980=:28944
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE


Hi,

the patch for a fileserver looping problem=20

http://www.openafs.org/cgi-bin/wdelta/viced-callback-avoid-potential-loopin=
g-problem-20020201

didn't really solve the problem.

We have seen it again several times during the last months.
Below you will find a patch which we have in our production cell=20
for more than two weeks.

Please take a look at it.

Regards,
Thomas.
--=20
-------------------------------------------------
Thomas M=FCller, TU Chemnitz, URZ, D-09107 Chemnitz
Tel: +49 (0)371 5311755   Fax: +49 (0)371 5311629
-------------------------------------------------

--1837505224-416119471-1029930980=:28944
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="fileserver-loop.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.44.0208211356200.28944@merowech.hrz.tu-chemnitz.de>
Content-Description: fileserver loop patch
Content-Disposition: attachment; filename="fileserver-loop.patch"

ZGlmZiAtTmF1cncgb3BlbmFmcy0xLjIuNi5vcmlnL3NyYy92aWNlZC9jYWxs
YmFjay5jIG9wZW5hZnMtMS4yLjYvc3JjL3ZpY2VkL2NhbGxiYWNrLmMNCi0t
LSBvcGVuYWZzLTEuMi42Lm9yaWcvc3JjL3ZpY2VkL2NhbGxiYWNrLmMJV2Vk
IEF1ZyAyMSAwOToyNTo0NCAyMDAyDQorKysgb3BlbmFmcy0xLjIuNi9zcmMv
dmljZWQvY2FsbGJhY2suYwlXZWQgQXVnIDIxIDExOjA5OjM2IDIwMDINCkBA
IC0xMzkxLDE2ICsxMzkxLDE2IEBADQogDQogfSAvKmxpaCovDQogDQotDQog
LyogVGhpcyBjb3VsZCBiZSB1cGdyYWRlZCB0byBnZXQ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