Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a659753e authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Trond Myklebust
Browse files

NLM: fix parsing of sm notify procedure



 The procedure that decodes statd sm_notify call seems to be skipping a
 few arguments.  How did this ever work?

 >From folks at Polyserve.

 Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
 Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 64a318ee
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -355,6 +355,8 @@ nlm4svc_decode_reboot(struct svc_rqst *rqstp, u32 *p, struct nlm_reboot *argp)
	argp->state = ntohl(*p++);
	/* Preserve the address in network byte order */
	argp->addr  = *p++;
	argp->vers  = *p++;
	argp->proto = *p++;
	return xdr_argsize_check(rqstp, p);
}