Lines Matching refs:mroute_sk
1022 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()
1411 if (sk != rcu_access_pointer(mrt->mroute_sk)) { in ip_mroute_setsockopt()
1439 sk == rtnl_dereference(mrt->mroute_sk)); in ip_mroute_setsockopt()
1467 sk == rtnl_dereference(mrt->mroute_sk), in ip_mroute_setsockopt()
1529 if (sk == rtnl_dereference(mrt->mroute_sk)) { in ip_mroute_setsockopt()
2144 struct sock *mroute_sk; in ip_mr_input() local
2146 mroute_sk = rcu_dereference(mrt->mroute_sk); in ip_mr_input()
2147 if (mroute_sk) { in ip_mr_input()
2149 raw_rcv(mroute_sk, skb); in ip_mr_input()