commit | a73e4195636c17f310b8530643a576f42b82385f | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Fri Aug 14 11:05:53 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 17 14:28:03 2015 -0700 |
tree | 084823d7d514bc015523526b8317ae05db15e629 | |
parent | ad706862890171e02df1d7391b05599fb676ec18 [diff] |
ipv6: Add rt6_make_pcpu_route() It is a prep work for fixing a potential deadlock when creating a pcpu rt. The current rt6_get_pcpu_route() will also create a pcpu rt if one does not exist. This patch moves the pcpu rt creation logic into another function, rt6_make_pcpu_route(). Signed-off-by: Martin KaFai Lau <kafai@fb.com> CC: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>