Re: Kallsyms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 16, 2012 at 12:48 PM, Pietro Paolini
<P.Paolini@xxxxxxxxxxxxxxxxx> wrote:
> Lines like :
>
> ip_finish_output+0x0/0x360

Hello,

I encountered a similar problem once.
The reason was that I was passing a NULL pointer or trying to pass a
field of a structure that was NULL.

So your call to ip_finish_output may look like:

struct sk_buff *my_skb;
ip_finish_output(my_skb);

or

struct my_struct {
    struct sk_buff *my_skb;
};
my_struct *m;
ip_finish_output(m->my_skb);

In the first case the problem would be that my_skb is NULL. In the
second case the problem would be that m or my_skb are NULL.

Hope this helps you.

--
Silviu Popescu

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux