[PATCH v2 net 0/3] ipv6: Fix a potential deadlock when creating pcpu rt

2015-08-14 Thread Martin KaFai Lau
v1 -> v2: A minor change in the commit message of patch 2. This patch series fixes a potential deadlock when creating a pcpu rt. It happens when dst_alloc() decided to run gc. Something like this: read_lock(&table->tb6_lock); ip6_rt_pcpu_alloc() => dst_alloc() => ip6_dst_gc() => write_lock(&table

Re: [PATCH v2 net 0/3] ipv6: Fix a potential deadlock when creating pcpu rt

2015-08-17 Thread David Miller
From: Martin KaFai Lau Date: Fri, 14 Aug 2015 11:05:51 -0700 > v1 -> v2: > A minor change in the commit message of patch 2. > > This patch series fixes a potential deadlock when creating a pcpu rt. > It happens when dst_alloc() decided to run gc. Something like this: > > read_lock(&table->tb6_l