Date: Mon, 31 Jan 2011 09:10:21 -0800 From: Julian Elischer <julian@freebsd.org> To: Przemyslaw Frasunek <przemyslaw@frasunek.com> Cc: freebsd-net@freebsd.org, Alexander Motin <mav@freebsd.org> Subject: Re: Netgraph/mpd5 stability issues Message-ID: <4D46ECFD.2070700@freebsd.org> In-Reply-To: <4D46EA1E.4020000@freebsd.org> References: <4D3011DB.9050900@frasunek.com> <20110131144223.GN62007@FreeBSD.org> <4D46D19A.7000508@frasunek.com> <4D46EA1E.4020000@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/31/11 8:58 AM, Julian Elischer wrote: > On 1/31/11 7:13 AM, Przemyslaw Frasunek wrote: >>> And in this one, can you please show *hook->hk_peer ? >> (kgdb) print *hook->hk_peer >> $2 = { >> hk_name = "\b\000\000\000 >> \000\000\000\004\000\000\000\001\000\000\000ŐRí\003\003ö\0248cmd4\000\000\000", >> >> hk_private = 0x0, hk_flags = 0, hk_refs = 0, >> hk_type = 0, hk_peer = 0x0, hk_node = 0x0, hk_hooks = {le_next = >> 0x566226, >> le_prev = 0x99e79c03}, hk_rcvmsg = 0x38ef45, hk_rcvdata = >> 0x28d6a8a1} > > that's not supposed to be able to happen. > It's supposed to point to SOMETHING, even if it's the "dead" hook. > does the dead hook point to itself? itprobably should if it doesn't. > (and it should have a name of 'dead' if it doesn't already). Replying to self.. all these things are in fact true, (just looked at source) so this is not a pointer to the dead node. So, how do we get a NULL peer? unless the hook is destroyed by another thread while we are accessing it, but I think from memory that that should set it to 'dead' not NULL. > > >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D46ECFD.2070700>