Warner Losh wrote:
> 
> One should generally only call these functions in attach.  If you must
> call them in probe, one must release the resource before returning
> from the probe.  However, since they can affect bridge settings, it
> may be unavoidable to call them from the probe routine.

The code seems to guarantee that if the probe routine returns 0
then the attach routine will be called right away. So if the probe
routine returns 0 they don't have to be freed. Actually, the
comments seem to say explicitly that the resources should be
freed only if the probe routine returns a negative value but not 0.
Or am I missing something ?

-SB


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to