We don't need the arp kludge any more.
This commit is contained in:
parent
307f787e5a
commit
5549556e4f
@ -1658,12 +1658,6 @@ bootpc_init(void)
|
||||
if (nfs_diskless_valid != 0)
|
||||
return;
|
||||
|
||||
/*
|
||||
* Wait until arp entries can be handled.
|
||||
*/
|
||||
while (time_second == 0)
|
||||
tsleep(&time_second, PZERO + 8, "arpkludge", 10);
|
||||
|
||||
gctx = malloc(sizeof(*gctx), M_TEMP, M_WAITOK);
|
||||
if (gctx == NULL)
|
||||
panic("Failed to allocate bootp global context structure");
|
||||
|
@ -389,13 +389,6 @@ nfs_mountroot(struct mount *mp, struct thread *td)
|
||||
bootpc_init(); /* use bootp to get nfs_diskless filled in */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* XXX time must be non-zero when we init the interface or else
|
||||
* the arp code will wedge...
|
||||
*/
|
||||
while (time_second == 0)
|
||||
tsleep(&time_second, PZERO+8, "arpkludge", 10);
|
||||
|
||||
if (nfs_diskless_valid==1)
|
||||
nfs_convert_diskless();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user