From: Eric Dumazet <eric.dumazet@gmail.com>
To: Fengguang Wu <wfg@linux.intel.com>
Cc: David Miller <davem@davemloft.net>,
netdev@vger.kernel.org,
Steffen Klassert <steffen.klassert@secunet.com>
Subject: Re: BUG: unable to handle kernel paging request at 00000000d8be176d
Date: Fri, 06 Jul 2012 08:41:47 +0200 [thread overview]
Message-ID: <1341556907.3265.93.camel@edumazet-glaptop> (raw)
In-Reply-To: <1341555227.3265.54.camel@edumazet-glaptop>
On Fri, 2012-07-06 at 08:13 +0200, Eric Dumazet wrote:
> On Fri, 2012-07-06 at 13:58 +0800, Fengguang Wu wrote:
> > On Thu, Jul 05, 2012 at 02:22:00PM -0700, David Miller wrote:
> > >
> > > Steffen Klassert posted a patch which fixes this.
> >
> > Steffen's patch converts one oops message into another.
> >
> > tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
> > head: 700db99d0140e9da2a31e08ebd3e1b121691aa26
> > commit: a2de86f63cfc92f7aaf11e7b9d9f2150946a1622 [1/2] ipv6: Initialize the neighbour pointer of rt6_info on allocation
> >
> > x86_64-allyesdebian BBB
>
> Please try :
>
> diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
> index 6d9c0ab..c6af596 100644
> --- a/net/ipv6/ip6_output.c
> +++ b/net/ipv6/ip6_output.c
> @@ -975,7 +975,7 @@ static int ip6_dst_lookup_tail(struct sock *sk,
> * dst entry of the nexthop router
> */
> rcu_read_lock();
> - rt = (struct rt6_info *) dst;
> + rt = (struct rt6_info *) *dst;
> n = rt->n;
> if (n && !(n->nud_state & NUD_VALID)) {
> struct inet6_ifaddr *ifp;
>
David, what do you think if I submit a patch using following accessor ?
/* get a rt6_info given a dst_entry pointer */
static inline struct rt6_info *dst_rt6_info(struct dst_entry *dst)
{
return (struct rt6_info *)dst;
}
next prev parent reply other threads:[~2012-07-06 6:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-05 13:48 [net-next:master] general protection fault in __nla_put() wfg
2012-07-05 21:22 ` David Miller
2012-07-06 5:58 ` BUG: unable to handle kernel paging request at 00000000d8be176d Fengguang Wu
2012-07-06 6:13 ` Eric Dumazet
2012-07-06 6:41 ` Eric Dumazet [this message]
2012-07-06 6:44 ` David Miller
2012-07-06 6:53 ` Eric Dumazet
2012-07-06 7:03 ` David Miller
2012-07-06 7:19 ` [PATCH net-next] ipv6: fix a bad cast in ip6_dst_lookup_tail() Eric Dumazet
2012-07-06 7:24 ` David Miller
2012-07-06 6:42 ` BUG: unable to handle kernel paging request at 00000000d8be176d David Miller
2012-07-06 7:37 ` Fengguang Wu
2012-07-06 7:52 ` Fengguang Wu
2012-07-06 8:29 ` David Miller
2012-07-06 8:34 ` Fengguang Wu
2012-07-06 8:26 ` David Miller
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=1341556907.3265.93.camel@edumazet-glaptop \
--to=eric.dumazet@gmail.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=steffen.klassert@secunet.com \
--cc=wfg@linux.intel.com \
/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).