Lines Matching refs:mroute_sk
1022 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()
1440 sk == rtnl_dereference(mrt->mroute_sk)); in ip_mroute_setsockopt()
1468 sk == rtnl_dereference(mrt->mroute_sk), in ip_mroute_setsockopt()
1530 if (sk == rtnl_dereference(mrt->mroute_sk)) { in ip_mroute_setsockopt()
2131 struct sock *mroute_sk; in ip_mr_input() local
2133 mroute_sk = rcu_dereference(mrt->mroute_sk); in ip_mr_input()
2134 if (mroute_sk) { in ip_mr_input()
2136 raw_rcv(mroute_sk, skb); in ip_mr_input()