Home
last modified time | relevance | path

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

/linux-6.1.9/net/bridge/
Dbr_forward.c151 if (rcu_access_pointer(to->backup_port) && !netif_carrier_ok(to->dev)) { in br_forward()
152 struct net_bridge_port *backup_port; in br_forward() local
154 backup_port = rcu_dereference(to->backup_port); in br_forward()
155 if (unlikely(!backup_port)) in br_forward()
157 to = backup_port; in br_forward()
Dbr_if.c181 struct net_bridge_port *old_backup = rtnl_dereference(p->backup_port); in nbp_backup_change()
207 rcu_assign_pointer(p->backup_port, backup_p); in nbp_backup_change()
221 backup_p = rtnl_dereference(cur_p->backup_port); in nbp_backup_clear()
227 WARN_ON(rcu_access_pointer(p->backup_port) || p->backup_redirected_cnt); in nbp_backup_clear()
Dbr_sysfs_if.c206 backup_p = rcu_dereference(p->backup_port); in show_backup_port()
230 static BRPORT_ATTR_RAW(backup_port, 0644, show_backup_port, store_backup_port);
Dbr_stp_if.c116 if (!rcu_access_pointer(p->backup_port)) in br_stp_disable_port()
Dbr_private.h366 struct net_bridge_port __rcu *backup_port; member
Dbr_netlink.c305 backup_p = rcu_dereference(p->backup_port); in br_port_fill_attrs()