site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=vZti3kk9PJerx4nhK2KrvLArdaOTiMaYpGdsU/qP2jQ=; b=pjXgyaeTs+RLpKtfdM3uQdM8h6jbI9vOW0u5CuE4lejJHw3kYLsw+dSt6VhJLM1BFw 748LORZ2ULseVw4MbjhCoVFDEoeXhAlMh0G7Q+20G2DgPBpx0nfgOm9aKVceorUfaMVa T3+XSI6LcSamESmisKHeCDGOQpnn5tYZZ8W7o= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dDoAkM+B4UXwwuC3wQ8YcWwRg6/fDqNRc068UDCWShdmsE+isFGiUVEDdEAp+GGwl2 b/qnapkkAM5dF4Q/QwC0ePLi4fW9PYvac284nN/v3HCE6UrzSju5hgPMEAp6yJgPzROE DByNaMRWS143+inGWpGa3ZjrrfzWUCLM3gYTU= Hello, Attached is a patch for what I think is a bug in the tcplognke sample, I would appreciate a reply if I missed something. While I'm here, I'd like to ask why mcache_alloc would ever get stuck in msleep (stack is below). This stack trace is how I ended up revisiting the sample code (that I'm using in my kext). Thanks, Bogdan 0x31a8b968 0x226e57 <thread_invoke+1213> 0x31a8b9e8 0x2270f6 <thread_block_reason+331> 0x31a8ba58 0x227184 <thread_block+33> 0x31a8ba78 0x221948 <lck_mtx_sleep+87> 0x31a8ba98 0x4867fc <_sleep+299> 0x31a8bb08 0x486eef <msleep+157> 0x31a8bb48 0x4a6732 <mbuf_slab_alloc+1251> 0x31a8bbb8 0x48ed52 <mcache_alloc_ext+426> 0x31a8bc28 0x48ee72 <mcache_alloc+39> 0x31a8bc58 0x4a812b <m_get+51> 0x31a8bc88 0x4aac61 <m_tag_alloc+57> 0x31a8bcb8 0x48c3b7 <mbuf_tag_allocate+188> 0x31a8bcf8 0x3203f64f <(my kext) + 0x164f> ... (OS X 10.6.4) _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com tcplognke-always-set-tag-value.patch