Home
last modified time | relevance | path

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

/linux-6.6.21/net/bridge/
Dbr_mdb.c790 struct net_bridge_mdb_entry *sgmp; in br_mdb_add_group_src_fwd() local
797 sgmp = br_multicast_new_group(cfg->br, &sg_ip); in br_mdb_add_group_src_fwd()
798 if (IS_ERR(sgmp)) { in br_mdb_add_group_src_fwd()
800 return PTR_ERR(sgmp); in br_mdb_add_group_src_fwd()
817 return br_mdb_add_group_sg(&sg_cfg, sgmp, brmctx, flags, extack); in br_mdb_add_group_src_fwd()
Dbr_multicast.c435 static void br_multicast_sg_del_exclude_ports(struct net_bridge_mdb_entry *sgmp) in br_multicast_sg_del_exclude_ports() argument
441 if (WARN_ON(br_multicast_is_star_g(&sgmp->addr))) in br_multicast_sg_del_exclude_ports()
447 for (pp = &sgmp->ports; in br_multicast_sg_del_exclude_ports()
448 (p = mlock_dereference(*pp, sgmp->br)) != NULL; in br_multicast_sg_del_exclude_ports()
458 sgmp->host_joined = false; in br_multicast_sg_del_exclude_ports()
460 for (pp = &sgmp->ports; in br_multicast_sg_del_exclude_ports()
461 (p = mlock_dereference(*pp, sgmp->br)) != NULL;) { in br_multicast_sg_del_exclude_ports()
463 br_multicast_del_pg(sgmp, p, pp); in br_multicast_sg_del_exclude_ports()