diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2011-04-13 14:31:28 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-04-13 15:12:22 -0400 |
commit | d1a8016a2d1e75021ecc8715e3c81442d7218eb6 (patch) | |
tree | b2aaef4f3aa4566765c6e3c743c74929a7790af2 /net/sunrpc/auth_gss/gss_krb5_seqnum.c | |
parent | 79a48a1f5d99ab66cf83d2d5d805e7a0e08452ed (diff) |
NFS: Fix infinite loop in gss_create_upcall()
There can be an infinite loop if gss_create_upcall() is called without
the userspace program running. To prevent this, we return -EACCES if
we notice that pipe_version hasn't changed (indicating that the pipe
has not been opened).
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_krb5_seqnum.c')
0 files changed, 0 insertions, 0 deletions