Home
last modified time | relevance | path

Searched refs:mroute_sk (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/ipv4/
Dipmr.c1022 struct sock *mroute_sk; in ipmr_cache_report() local
1082 mroute_sk = rcu_dereference(mrt->mroute_sk); in ipmr_cache_report()
1083 if (!mroute_sk) { in ipmr_cache_report()
1091 ret = sock_queue_rcv_skb(mroute_sk, skb); in ipmr_cache_report()
1339 if (sk == rtnl_dereference(mrt->mroute_sk)) { in mrtsock_destruct()
1345 RCU_INIT_POINTER(mrt->mroute_sk, NULL); in mrtsock_destruct()
1383 if (sk != rcu_access_pointer(mrt->mroute_sk) && in ip_mroute_setsockopt()
1396 if (rtnl_dereference(mrt->mroute_sk)) { in ip_mroute_setsockopt()
1403 rcu_assign_pointer(mrt->mroute_sk, sk); in ip_mroute_setsockopt()
1412 if (sk != rcu_access_pointer(mrt->mroute_sk)) { in ip_mroute_setsockopt()
[all …]
/linux-6.1.9/net/ipv6/
Dip6mr.c1121 mroute6_sk = rcu_dereference(mrt->mroute_sk); in ip6mr_cache_report()
1573 if (rtnl_dereference(mrt->mroute_sk)) { in ip6mr_sk_init()
1576 rcu_assign_pointer(mrt->mroute_sk, sk); in ip6mr_sk_init()
1609 if (sk == rtnl_dereference(mrt->mroute_sk)) { in ip6mr_sk_done()
1611 RCU_INIT_POINTER(mrt->mroute_sk, NULL); in ip6mr_sk_done()
1645 return rcu_access_pointer(mrt->mroute_sk); in mroute6_is_socket()
1675 if (sk != rcu_access_pointer(mrt->mroute_sk) && in ip6_mroute_setsockopt()
1699 sk == rtnl_dereference(mrt->mroute_sk)); in ip6_mroute_setsockopt()
1735 rtnl_dereference(mrt->mroute_sk), in ip6_mroute_setsockopt()
1806 if (sk == rcu_access_pointer(mrt->mroute_sk)) in ip6_mroute_setsockopt()
/linux-6.1.9/include/linux/
Dmroute_base.h251 struct sock __rcu *mroute_sk; member