Loading fs/nfsd/export.c +4 −9 Original line number Original line Diff line number Diff line Loading @@ -464,16 +464,11 @@ static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp) if (err) if (err) return err; return err; /* /* * Just a quick sanity check; we could also try to check * XXX: It would be nice to also check whether this * whether this pseudoflavor is supported, but at worst * pseudoflavor is supported, so we can discover the * an unsupported pseudoflavor on the export would just * problem at export time instead of when a client fails * be a pseudoflavor that won't match the flavor of any * to authenticate. * authenticated request. The administrator will * probably discover the problem when someone fails to * authenticate. */ */ if (f->pseudoflavor < 0) return -EINVAL; err = get_int(mesg, &f->flags); err = get_int(mesg, &f->flags); if (err) if (err) return err; return err; Loading Loading
fs/nfsd/export.c +4 −9 Original line number Original line Diff line number Diff line Loading @@ -464,16 +464,11 @@ static int secinfo_parse(char **mesg, char *buf, struct svc_export *exp) if (err) if (err) return err; return err; /* /* * Just a quick sanity check; we could also try to check * XXX: It would be nice to also check whether this * whether this pseudoflavor is supported, but at worst * pseudoflavor is supported, so we can discover the * an unsupported pseudoflavor on the export would just * problem at export time instead of when a client fails * be a pseudoflavor that won't match the flavor of any * to authenticate. * authenticated request. The administrator will * probably discover the problem when someone fails to * authenticate. */ */ if (f->pseudoflavor < 0) return -EINVAL; err = get_int(mesg, &f->flags); err = get_int(mesg, &f->flags); if (err) if (err) return err; return err; Loading