Re: Kernel Panic 10.2.3 with NDRVPROTO & Raw Ethernet
Re: Kernel Panic 10.2.3 with NDRVPROTO & Raw Ethernet
- Subject: Re: Kernel Panic 10.2.3 with NDRVPROTO & Raw Ethernet
- From: "Duane Murphy" <email@hidden>
- Date: Mon, 22 Dec 2003 13:10:23 -0800
More testing. The problem is specifically related to registering for
protocol matching using
int result = setsockopt(
fd, SOL_NDRVPROTO, NDRV_SETDMXSPEC,
&desc, sizeof desc );
This call is successful, but the kernel panics when the socket is closed.
Is this call just broken on early systems? This call seems to have no
problem on 10.1 (although it doesnt actually filter SNAP, but that's a
different bug).
I'll continue to do more work to nail this down, but I expect that some
one (Josua?) knows whats going on and can point me in a useful direction.
Thanks for the help,
...Duane
ps
Sorry for implicating CFSocketInvalidate. ;-)
--- At Fri, 19 Dec 2003 23:18:45 -0800, Duane Murphy wrote:
>
I have now reproduced the problem on 10.2(.0). Is there a work around to
>
this problem, asside from upgrading to a newer OS?
>
>
--- At Fri, 19 Dec 2003 17:49:51 -0800, Duane Murphy wrote:
>
>
>Our testing is showing a kernel panic on 10.2.3 when a raw ethernet
>
>socket is closed using CFSocketInvalidate.
>
>
>
>Are there any known issues with this combination?
>
>
>
>We are in the process of doing more validation that everything else
>
>appears OK before closing the socket.
>
>
>
>The socket is sending SNAP packets and set to receive SNAP packets of a
>
>private protocol. Do the protocol match specifications set using
>
>NDRV_SETDMXSPEC need to be unset before closing the socket?
>
>
>
>I have run this same code on 10.1.5 and 10.2.6 without trouble. This test
>
>machine is a PowerBook G3 (Pismo). The 10.2.3 machine is a desktop
>
>PowerMac G3.
...Duane
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.