From: "David S. Miller" <davem@davemloft.net>
To: vnuorval@tcs.hut.fi
Cc: netdev@vger.kernel.org, usagi-users@linux-ipv6.org
Subject: (usagi-users 03617) Re: [PATCH] ip6_tunnel: release cached dst on change of tunnel params
Date: Fri, 24 Feb 2006 13:16:57 -0800 (PST) [thread overview]
Message-ID: <20060224.131657.32700712.davem@davemloft.net> (raw)
In-Reply-To: <43FF104B.1090006@tcs.hut.fi>
From: Ville Nuorvala <vnuorval@tcs.hut.fi>
Date: Fri, 24 Feb 2006 15:55:23 +0200
> Hugo Santos wrote:
> > Hi,
> >
> > The included patch fixes ip6_tunnel to release the cached dst entry
> > when the tunnel parameters (such as tunnel endpoints) are changed so
> > they are used immediatly for the next encapsulated packets.
> >
> > Signed-off-by: Hugo Santos <hsantos@av.it.pt>
> >
> > --- linux-2.6.16-rc4/net/ipv6/ip6_tunnel.c 2006-02-17 22:23:45.000000000 +0000
> > +++ linux-2.6.16-rc4-new/net/ipv6/ip6_tunnel.c 2006-02-24 01:40:17.000000000 +0000
> > @@ -884,6 +884,7 @@ ip6ip6_tnl_change(struct ip6_tnl *t, str
> > t->parms.encap_limit = p->encap_limit;
> > t->parms.flowinfo = p->flowinfo;
> > t->parms.link = p->link;
> > + ip6_tnl_dst_reset(t);
> > ip6ip6_tnl_link_config(t);
> > return 0;
> > }
> >
> Acked-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Applied, although the patch was tab/whitespace damaged by Hugo's
email client so I had to apply it by hand.
parent reply other threads:[~2006-02-24 21:16 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <43FF104B.1090006@tcs.hut.fi>]
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=20060224.131657.32700712.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=usagi-users@linux-ipv6.org \
--cc=vnuorval@tcs.hut.fi \
/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