We don't need the arp kludge any more.
This commit is contained in:
parent
6b00cf46ec
commit
2f35ea476d
@ -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