diff options
author | Martin KaFai Lau <kafai@fb.com> | 2015-08-14 11:05:53 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-17 14:28:03 -0700 |
commit | a73e4195636c17f310b8530643a576f42b82385f (patch) | |
tree | 084823d7d514bc015523526b8317ae05db15e629 /net/ipv6/ip6_fib.c | |
parent | ad706862890171e02df1d7391b05599fb676ec18 (diff) | |
download | op-kernel-dev-a73e4195636c17f310b8530643a576f42b82385f.zip op-kernel-dev-a73e4195636c17f310b8530643a576f42b82385f.tar.gz |
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>
Diffstat (limited to 'net/ipv6/ip6_fib.c')
0 files changed, 0 insertions, 0 deletions