commit | 83a09abd1a8badbbb715f928d07c65ac47709c47 | [log] [tgz] |
---|---|---|
author | Martin KaFai Lau <kafai@fb.com> | Fri May 22 20:56:05 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 25 13:25:34 2015 -0400 |
tree | 8473ad8665ac9f23947f0df29f601b1c8b6b1012 | |
parent | 8d0b94afdca84598912347e61defa846a0988d04 [diff] |
ipv6: Break up ip6_rt_copy() This patch breaks up ip6_rt_copy() into ip6_rt_copy_init() and ip6_rt_cache_alloc(). In the later patch, we need to create a percpu rt6_info copy. Hence, refactor the common rt6_info init codes to ip6_rt_copy_init(). Signed-off-by: Martin KaFai Lau <kafai@fb.com> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Julian Anastasov <ja@ssi.bg> Signed-off-by: David S. Miller <davem@davemloft.net>