Skip to content
  • Kirill Tkhai's avatar
    net: Convert fib6_net_ops, ipv6_addr_label_ops and ip6_segments_ops · d16784d9
    Kirill Tkhai authored
    
    
    These pernet_operations register and unregister tables
    and lists for packets forwarding. All of the entities
    are per-net. Init methods makes simple initializations,
    and since net is not visible for foreigners at the time
    it is working, it can't race with anything. Exit method
    is executed when there are only local devices, and there
    mustn't be packets in-flight. Also, it looks like no one
    pernet_operations want to send ipv6 packets to foreign
    net. The same reasons are for ipv6_addr_label_ops and
    ip6_segments_ops. So, we are able to mark all them as
    async.
    
    Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d16784d9