• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: dlil_inject_if_input cause crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:39:57 -0600

I never did this before,

but I am trying this:

testin->m_pkthdr.rcvif = temp->the_ifnet;

where temp->the_ifnet is the ifnet ptr that is obtained from the outgoing filter for the dlil if filtering.

See how that goes.

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
References: 
 >dlil_inject_if_input cause crashes (From: Matt Jaffa <email@hidden>)
 >Re: dlil_inject_if_input cause crashes (From: Joshua Graessley <email@hidden>)

  • Prev by Date: Re: dlil_inject_if_input cause crashes
  • Next by Date: Further debugging kernel panics.
  • Previous by thread: Re: dlil_inject_if_input cause crashes
  • Next by thread: Further debugging kernel panics.
  • Index(es):
    • Date
    • Thread