Re: IPv6 deadlock with CONFIG_IPV6_ROUTER_PREF

2012-08-23 Thread Banerjee, Debabrata
On Aug 23, 2012, at 11:11 AM, "Lin Ming" wrote: > On Fri, Aug 17, 2012 at 1:58 AM, Banerjee, Debabrata > wrote: >> This code tries to send a neighbor discovery ICMPv6 packet for router >> reachability while read_lock(tb6_lock) is held. The send may want to cause >> a fib6_clean_all() garbage col

Re: IPv6 deadlock with CONFIG_IPV6_ROUTER_PREF

2012-08-23 Thread Lin Ming
On Fri, Aug 17, 2012 at 1:58 AM, Banerjee, Debabrata wrote: > This code tries to send a neighbor discovery ICMPv6 packet for router > reachability while read_lock(tb6_lock) is held. The send may want to cause > a fib6_clean_all() garbage collection, which will try to take > write_lock(tb6_lock), r

IPv6 deadlock with CONFIG_IPV6_ROUTER_PREF

2012-08-16 Thread Banerjee, Debabrata
This code tries to send a neighbor discovery ICMPv6 packet for router reachability while read_lock(tb6_lock) is held. The send may want to cause a fib6_clean_all() garbage collection, which will try to take write_lock(tb6_lock), resulting in deadlock. Garbage collection becomes more likely under hi