• K
    net: Convert tcpv6_net_ops · fef65a2c
    Kirill Tkhai 提交于
    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: NKirill Tkhai <ktkhai@virtuozzo.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    fef65a2c
tcp_ipv6.c 52.1 KB