diff options
author | 2010-04-16 16:22:52 -0400 | |
---|---|---|
committer | 2010-05-14 15:09:28 -0400 | |
commit | ce587e07ba2e25b5c9d286849885b82676661f3e (patch) | |
tree | 5bb91822d82fa9a26f7846edcc48bf01fad4411f /lib/bug.c | |
parent | NFS: Reduce stack footprint of nfs3_proc_getacl() and nfs3_proc_setacl() (diff) | |
download | wireguard-linux-ce587e07ba2e25b5c9d286849885b82676661f3e.tar.xz wireguard-linux-ce587e07ba2e25b5c9d286849885b82676661f3e.zip |
NFS: Prevent the mount code from looping forever on broken exports
Keep a global count of how many referrals that the current task has
traversed on a path lookup. Return ELOOP if the count exceeds
MAX_NESTED_LINKS.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions