Kallsyms

Silviu Popescu silviupopescu1990 at gmail.com
Fri Nov 16 05:56:25 EST 2012


On Fri, Nov 16, 2012 at 12:48 PM, Pietro Paolini
<P.Paolini at ext.adbglobal.com> 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



More information about the Kernelnewbies mailing list