NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48964 (In urndis(4), initialization of ifnet structure is not enough, cause panic.)




>  Perhaps you can look at the IFF_RUNNING
> check in urndis_init?

[from diff]:

        if (ifp->if_flags & IFF_RUNNING)
-          return;
+          return EBUSY;


I don't know whether if_init() will be called or not when IFF_RUNNING flag is 
ON,
it will depend on the design of network (or ethernet) driver.

It seems that many nic drivers are stopping I/O, resetting and re-initializing,
or some drivers skip lator and return with 0 in this case.
at least I could not find another drivers which returns with any ERROR.

Thanks.

-- 
Yasushi Oshima


Home | Main Index | Thread Index | Old Index