Searched refs:cap_net_admin (Results 1 – 2 of 2) sorted by relevance
561 bool cap_net_admin; in mptcp_setsockopt_sol_tcp_congestion() local574 cap_net_admin = ns_capable(sock_net(sk)->user_ns, CAP_NET_ADMIN); in mptcp_setsockopt_sol_tcp_congestion()584 err = tcp_set_congestion_control(ssk, name, true, cap_net_admin); in mptcp_setsockopt_sol_tcp_congestion()
353 bool cap_net_admin) in tcp_set_congestion_control() argument376 else if (!((ca->flags & TCP_CONG_NON_RESTRICTED) || cap_net_admin)) in tcp_set_congestion_control()