From: "David S. Miller" <davem@redhat.com>
To: mk@linux-ipv6.org
Cc: jmorris@intercode.com.au, kuznet@ms2.inr.ac.ru,
netdev@oss.sgi.com, usagi@linux-ipv6.org
Subject: Re: [PATCH] xfrm ip6ip6 (revised)
Date: Fri, 13 Jun 2003 12:07:02 -0700 (PDT) [thread overview]
Message-ID: <20030613.120702.71089628.davem@redhat.com> (raw)
In-Reply-To: <87smqerml5.wl@karaba.org>
From: Mitsuru KANDA / 神田 充 <mk@linux-ipv6.org>
Date: Sat, 14 Jun 2003 01:03:50 +0900
- to allocate unique spi values in xfrm6_tunnel.c
by using just simple open addressing hash,
Mitsuru, what happens if two tunnels use same address?
Only first one will be found in hash, this is incorrect
behavior as it will cause the wrong SPI to be used when
packets are really destined for second user of that address.
You need to add refcount to hash table entries, so that SPI can be
shared by different xfrm6 tunnels with same address.
next prev parent reply other threads:[~2003-06-13 19:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-31 15:20 [PATCH] xfrm ip6ip6 Mitsuru KANDA / 神田 充
2003-05-31 16:01 ` James Morris
2003-06-01 8:34 ` David S. Miller
2003-05-31 16:06 ` James Morris
2003-06-01 8:30 ` David S. Miller
2003-06-13 16:03 ` [PATCH] xfrm ip6ip6 (revised) Mitsuru KANDA / 神田 充
2003-06-13 16:11 ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-13 16:13 ` YOSHIFUJI Hideaki / 吉藤英明
2003-06-13 18:08 ` Ville Nuorvala
2003-06-13 19:07 ` David S. Miller [this message]
2003-06-13 19:19 ` David S. 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=20030613.120702.71089628.davem@redhat.com \
--to=davem@redhat.com \
--cc=jmorris@intercode.com.au \
--cc=kuznet@ms2.inr.ac.ru \
--cc=mk@linux-ipv6.org \
--cc=netdev@oss.sgi.com \
--cc=usagi@linux-ipv6.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;
as well as URLs for NNTP newsgroup(s).