Try again not to use a userspace pointer in the kernel when trying to record
the hostname which we need for NLM requests. The previous patch was incomplete. PR: 125849 Pointy hat: dfr
This commit is contained in:
parent
db428b786c
commit
d3508f91ee
@ -708,7 +708,7 @@ nfs_decode_args(struct mount *mp, struct nfsmount *nmp, struct nfs_args *argp,
|
||||
}
|
||||
|
||||
if (hostname) {
|
||||
strlcpy(nmp->nm_hostname, argp->hostname,
|
||||
strlcpy(nmp->nm_hostname, hostname,
|
||||
sizeof(nmp->nm_hostname));
|
||||
p = strchr(nmp->nm_hostname, ':');
|
||||
if (p)
|
||||
|
Loading…
x
Reference in New Issue
Block a user