Robert Love wrote:
> this is really just a state of the lport, move it to
> the lport's file.
> 
> Also remove disc_stop from the libfc_function_template as
> nobody should be calling this from outside fc_lport.c.
> 
> Signed-off-by: Robert Love <[EMAIL PROTECTED]>

...

>  /*
> + * Logoff the DNS rport
> + */
> +static void fc_lport_enter_dns_stop(struct fc_lport *lp)
> +{
> +     if (fc_lport_debug)
> +             FC_DBG("Processing DNS_STOP state");
> +
> +     fc_lport_state_enter(lp, LPORT_ST_DNS_STOP);
> +
> +     if (lp->dns_rp)
> +             lp->tt.rport_logout(lp->dns_rp);
> +}

In the above, if dns_rp is NULL, it should go on to LOGO state.

        Joe

_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to