Skip to content
  • Kirill Tkhai's avatar
    net: Convert tcpv6_net_ops · fef65a2c
    Kirill Tkhai authored
    
    
    These pernet_operations create and destroy net::ipv6.tcp_sk
    socket, which is used in tcp_v6_send_response() only. It looks
    like foreign pernet_operations don't want to set ipv6 connection
    inside destroyed net, so this socket may be created in destroyed
    in parallel with anything else. inet_twsk_purge() is also safe
    for that, as described in patch for tcp_sk_ops. So, it's possible
    to mark them as async.
    
    Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fef65a2c