mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Reverting the previous change for now. Some users reports the patch
fixes their issues but one reports a failure in NFS ROOT. Revert the change for now pending further investigation. Reviewed by: bz MFC after: immediately
This commit is contained in:
parent
b7bb894067
commit
812777783d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197235
@ -464,6 +464,10 @@ nfs_mountroot(struct mount *mp)
|
||||
}
|
||||
#endif
|
||||
|
||||
error = ifioctl(so, SIOCAIFADDR, (caddr_t)&nd->myif, td);
|
||||
if (error)
|
||||
panic("nfs_mountroot: SIOCAIFADDR: %d", error);
|
||||
|
||||
if ((cp = getenv("boot.netif.mtu")) != NULL) {
|
||||
ir.ifr_mtu = strtol(cp, NULL, 10);
|
||||
bcopy(nd->myif.ifra_name, ir.ifr_name, IFNAMSIZ);
|
||||
|
Loading…
Reference in New Issue
Block a user