• Martin KaFai Lau's avatar
    ipv6: Break up ip6_rt_copy() · 83a09abd
    Martin KaFai Lau authored
    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: default avatarMartin 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: default avatarDavid S. Miller <davem@davemloft.net>
    83a09abd
route.c 82.3 KB