Thread (11 messages) 11 messages, 5 authors, 2003-06-13

Re: [PATCH] xfrm ip6ip6 (revised)

From: David S. Miller <hidden>
Date: 2003-06-13 19:07:02

   From: Mitsuru KANDA / 神田 充 [off-list ref]
   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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help