Hello Eric,
> Hmm. I wonder what would have triggered a stack overflow? As I
> recall the kernel has a very similar limit for nested symlinks. For
> the case of booting I have trouble seeing more than one symlink being
> needed so 16 should be plenty.
Quick google'ing gave mention of 5 or 15 as symlinks depth, I think Linus
didn't agree to upping the limit to 15 finally.
I just introduced a constant NFS_MAXLINKDEPTH into CVS (in
etherboot.h), set to 16 to go for sure. At least one thing we
definitively are "better" than the Linux kernel ;-)
I'm not sure it was a stack overflow, but it could have been surely
100 symlinks flying past, and our stack is somehow limited I think. No
matter, as we don't bump into it again. Endless recursion is evil
anyway.
Best regards,
Anselm Martin Hoffmeister
Stockholm Projekt Computer-Service
<an...@ho...>
|