Searched refs:mroute_sk (Results 1 – 3 of 3) sorted by relevance
1022 struct sock *mroute_sk; in ipmr_cache_report() local1082 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 …]
1121 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()
251 struct sock __rcu *mroute_sk; member