DragonFly BSD
DragonFly bugs List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: pppoe connection problems


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 6 Jun 2006 10:46:49 -0700 (PDT)

:>  out:
:> -	/* pmsg was embedded in the mbuf, do not reply! */
:> +	/* netgraph code may receive non embedded-in-mbuf netmsg's */
:> +	if (&pmsg->nm_lmsg != &m->m_hdr.mh_netmsg.nm_lmsg)
:> +		lwkt_replymsg(&pmsg->nm_lmsg, 0);
:>  	return(EASYNC);
:>  }
:
:this one works, thanks :)

    Hmm.  It looks like I didn't take into account calls made to
    schednetisr(), whos messages do need to be replied.

    I'll commit a more involved fix.  It is going to be a little messier
    then I would like because messages embedded in a mbuf can't be checked
    after the mbuf has been freed.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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