NFSROOT is broken after r196714

Oleksandr Tymoshenko gonzo at bluezbox.com
Wed Sep 9 19:39:16 UTC 2009


r196714 breaks NFSROOT in -CURRENT. When nfsclient tries to
initialize interface calling ifioctl at nfsclient/nfs_vfsops.c:466
it fails with EEXIST (because route is already present I guess).

I fixed it in my tree by checking for error code in mount_nfsroot,
but may be it's ifioctl(SIOCAIFADDR) that should handle this case.

-- 
gonzo


More information about the freebsd-net mailing list