netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Steinar H. Gunderson" <sgunderson@bigfoot.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
	linux-kernel@vger.kernel.org, davem@davemloft.net,
	netdev@vger.kernel.org, Rusty Russell <rusty@rustcorp.com.au>,
	Pravin B Shelar <pshelar@nicira.com>
Subject: Re: NULL pointer dereference when loading the gre module (3.10.0-rc4)
Date: Fri, 7 Jun 2013 19:52:33 +0200	[thread overview]
Message-ID: <20130607175233.GA20230@uio.no> (raw)
In-Reply-To: <1370621543.9844.78.camel@gandalf.local.home>

On Fri, Jun 07, 2013 at 12:12:23PM -0400, Steven Rostedt wrote:
>> Ffffffffa0e76000 u ip_tunnel_init_net   [ip_gre]
> What do you get if you do an objdump -Dr ip_gre.ko
> 
> And then look for ipgre_init, and then subtract 0xb053 (45139) from its
> address. As that is: ffffffffa0e81055 - ffffffffa0e76002, then see if
> that object file has anything in that location.

pannekake:~> objdump -Dr /lib/modules/3.10.0-rc4/kernel/net/ipv4/ip_gre.ko | grep ipgre_init        
0000000000000000 <ipgre_init_net>:                                                          
   0:	8b 35 00 00 00 00    	mov    0x0(%rip),%esi        # 6 <ipgre_init_net+0x6>
  13:	e8 00 00 00 00       	callq  18 <ipgre_init_net+0x18>

Ie., the symbol doesn't show up in the disassembly (for whatever reason).

/* Steinar */
-- 
Homepage: http://www.sesse.net/

  reply	other threads:[~2013-06-07 17:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130606221656.GA11475@uio.no>
2013-06-07  3:06 ` NULL pointer dereference when loading the gre module (3.10.0-rc4) Steven Rostedt
2013-06-07  3:59   ` Eric Dumazet
2013-06-07  8:31     ` Steinar H. Gunderson
2013-06-13 10:01     ` David Miller
2013-06-07  8:27   ` Steinar H. Gunderson
2013-06-07  8:43   ` Steinar H. Gunderson
2013-06-07  8:54   ` Steinar H. Gunderson
2013-06-07 13:40     ` Eric Dumazet
2013-06-07 15:15       ` Steven Rostedt
2013-06-07 15:46         ` Steinar H. Gunderson
2013-06-07 16:12           ` Steven Rostedt
2013-06-07 17:52             ` Steinar H. Gunderson [this message]
2013-06-07 18:26               ` Steven Rostedt
2013-06-07 18:34                 ` Steinar H. Gunderson
2013-06-07 18:44                   ` Steven Rostedt
2013-06-07 18:46                     ` Steinar H. Gunderson
2013-06-07 20:26                       ` Eric Dumazet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130607175233.GA20230@uio.no \
    --to=sgunderson@bigfoot.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pshelar@nicira.com \
    --cc=rostedt@goodmis.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).