Searched refs:sgmp (Results 1 – 2 of 2) sorted by relevance
800 struct net_bridge_mdb_entry *sgmp; in br_mdb_add_group_src_fwd() local807 sgmp = br_multicast_new_group(cfg->br, &sg_ip); in br_mdb_add_group_src_fwd()808 if (IS_ERR(sgmp)) { in br_mdb_add_group_src_fwd()810 return PTR_ERR(sgmp); in br_mdb_add_group_src_fwd()827 return br_mdb_add_group_sg(&sg_cfg, sgmp, brmctx, flags, extack); in br_mdb_add_group_src_fwd()
436 static void br_multicast_sg_del_exclude_ports(struct net_bridge_mdb_entry *sgmp) in br_multicast_sg_del_exclude_ports() argument442 if (WARN_ON(br_multicast_is_star_g(&sgmp->addr))) in br_multicast_sg_del_exclude_ports()448 for (pp = &sgmp->ports; in br_multicast_sg_del_exclude_ports()449 (p = mlock_dereference(*pp, sgmp->br)) != NULL; in br_multicast_sg_del_exclude_ports()459 sgmp->host_joined = false; in br_multicast_sg_del_exclude_ports()461 for (pp = &sgmp->ports; in br_multicast_sg_del_exclude_ports()462 (p = mlock_dereference(*pp, sgmp->br)) != NULL;) { in br_multicast_sg_del_exclude_ports()464 br_multicast_del_pg(sgmp, p, pp); in br_multicast_sg_del_exclude_ports()