Home
last modified time | relevance | path

Searched refs:cap_net_admin (Results 1 – 2 of 2) sorted by relevance

/net/mptcp/
Dsockopt.c561 bool cap_net_admin; in mptcp_setsockopt_sol_tcp_congestion() local
574 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()
/net/ipv4/
Dtcp_cong.c353 bool cap_net_admin) in tcp_set_congestion_control() argument
376 else if (!((ca->flags & TCP_CONG_NON_RESTRICTED) || cap_net_admin)) in tcp_set_congestion_control()