Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv6/
Dmcast.c137 struct ipv6_mc_socklist *mc_lst; in __ipv6_sock_mc_join() local
148 for_each_pmc_rcu(np, mc_lst) { in __ipv6_sock_mc_join()
149 if ((ifindex == 0 || mc_lst->ifindex == ifindex) && in __ipv6_sock_mc_join()
150 ipv6_addr_equal(&mc_lst->addr, addr)) { in __ipv6_sock_mc_join()
157 mc_lst = sock_kmalloc(sk, sizeof(struct ipv6_mc_socklist), GFP_KERNEL); in __ipv6_sock_mc_join()
159 if (!mc_lst) in __ipv6_sock_mc_join()
162 mc_lst->next = NULL; in __ipv6_sock_mc_join()
163 mc_lst->addr = *addr; in __ipv6_sock_mc_join()
176 sock_kfree_s(sk, mc_lst, sizeof(*mc_lst)); in __ipv6_sock_mc_join()
180 mc_lst->ifindex = dev->ifindex; in __ipv6_sock_mc_join()
[all …]