Thread (9 messages) flat view 9 messages, 2 authors, 2011-07-22

Re: [BUG] ipv6: all routes share same inetpeer

From: David Miller <davem@davemloft.net>
Date: 2011-07-22 04:25:17

From: Eric Dumazet <redacted>
Date: Wed, 20 Jul 2011 08:18:36 +0200
Le mercredi 20 juillet 2011 à 07:29 +0200, Eric Dumazet a écrit :
quoted
My first patch had an issue in rt6_alloc_cow(), line 710, where 
ipv6_addr_equal(&rt->rt6i_dst.addr, daddr) becomes always true.

I guess I can replace it by ipv6_addr_equal(&ort->rt6i_dst.addr, daddr)
Here the combo patch I tested :

I also had to solve the icmp6_dst_alloc() problem
[it uses dst_metric_set(&rt->dst, RTAX_HOPLIMIT, 255);]

Note : this is based on net-2.6, but I really tested it on net-next-2.6
(with the frag ident patch applied too)

[PATCH] ipv6: unshare inetpeers
I applied this to net-next and queued it up for -stable, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help