Re: dlil_inject_if_input cause crashes
Re: dlil_inject_if_input cause crashes
- Subject: Re: dlil_inject_if_input cause crashes
- From: Matt Jaffa <email@hidden>
- Date: Wed, 22 Sep 2004 15:21:29 -0600
I did not know that I was supposed to do that to the mbuf that I
created.
How would I go about that?
Matt
On Sep 22, 2004, at 3:04 PM, Joshua Graessley wrote:
Are you setting the receive interface (m_pkthdr.rcvif) correctly?
-josh
On Sep 22, 2004, at 12:27 PM, Matt Jaffa wrote:
Hi,
More on my recent problems with dlil_inject_if_input.
I have my computer now doing a core dump to a remote server, and I
did a back trace on the core dump.
It is crashing here:
(gdb) bt
#0 0x0011076c in ip_input (m=0x1d571a00) at
/SourceCache/xnu/xnu-517.7.21/bsd/netinet/ip_input.c:454
#1 0x00110634 in ip_input (m=0x1d571a00) at
/SourceCache/xnu/xnu-517.7.21/bsd/netinet/ip_input.c:411
#2 0x0011115c in ipintr () at
/SourceCache/xnu/xnu-517.7.21/bsd/netinet/ip_input.c:967
#3 0x000ff6fc in run_netisr () at
/SourceCache/xnu/xnu-517.7.21/bsd/net/netisr.c:79
#4 0x000f1d54 in dlil_input_thread_continue () at
/SourceCache/xnu/xnu-517.7.21/bsd/net/dlil.c:568
(gdb)
That is great that I know where it was at when it was crashing, but
it seems to be crashing due to something in ip_input.c on
line 454, I checked the line out, but don't know why it would crash
at that line.
Any help on figuring this out would be appreciated. See my previous
posts with dlil_inject_if_input for my code.
Is this a bug now?
Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden