Netdev List
 help / color / mirror / Atom feed
From: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
To: netdev@vger.kernel.org
Subject: Re: Oops in xfrm_bundle_ok
Date: Wed, 25 Jul 2007 00:51:14 +0900 (JST)	[thread overview]
Message-ID: <20070725.005114.74734738.chamas@h4.dion.ne.jp> (raw)
In-Reply-To: <20070705.024710.74752219.chamas@h4.dion.ne.jp>

 Hello,

From: Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>
Subject: Oops in xfrm_bundle_ok
Date: Thu, 05 Jul 2007 02:47:10 +0900 (JST)

> I got Oops like below. I glanced xfrm_bundle_ok() in
> xfrm_policy.c and __xfrm4.bundle_create() in xfrm4_policy.c.

It seems this was fixed by below, thanks a lot.

> commit bd0bf0765ea1fba80d7085e1f0375ec045631dc1
> Author: Patrick McHardy <kaber@trash.net>
> Date:   Wed Jul 18 01:55:52 2007 -0700
>
>     [XFRM]: Fix crash introduced by struct dst_entry reordering
....

@@ -2141,7 +2141,7 @@ int xfrm_bundle_ok(struct xfrm_policy *pol, struct xfrm_dst *first,
 		if (last == first)
 			break;
 
-		last = last->u.next;
+		last = (struct xfrm_dst *)last->u.dst.next;
 		last->child_mtu_cached = mtu;
 	}

      reply	other threads:[~2007-07-24 15:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-04 17:47 Oops in xfrm_bundle_ok Ken-ichirou MATSUZAWA
2007-07-24 15:51 ` Ken-ichirou MATSUZAWA [this message]

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=20070725.005114.74734738.chamas@h4.dion.ne.jp \
    --to=chamas@h4.dion.ne.jp \
    --cc=netdev@vger.kernel.org \
    /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