Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dipmr.c1022 struct sock *mroute_sk; in ipmr_cache_report() local
1028 mroute_sk = rcu_dereference(mrt->mroute_sk); in ipmr_cache_report()
1029 if (!mroute_sk) in ipmr_cache_report()
1076 ipv4_pktinfo_prepare(mroute_sk, pkt, false); in ipmr_cache_report()
1090 ret = sock_queue_rcv_skb(mroute_sk, skb); in ipmr_cache_report()
1338 if (sk == rtnl_dereference(mrt->mroute_sk)) { in mrtsock_destruct()
1344 RCU_INIT_POINTER(mrt->mroute_sk, NULL); in mrtsock_destruct()
1382 if (sk != rcu_access_pointer(mrt->mroute_sk) && in ip_mroute_setsockopt()
1395 if (rtnl_dereference(mrt->mroute_sk)) { in ip_mroute_setsockopt()
1402 rcu_assign_pointer(mrt->mroute_sk, sk); in ip_mroute_setsockopt()
[all …]
/linux-6.6.21/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.6.21/include/linux/
Dmroute_base.h251 struct sock __rcu *mroute_sk; member