Lines Matching refs:old_pvid
753 u16 old_pvid; in __br_vlan_set_default_pvid() local
767 old_pvid = br->default_pvid; in __br_vlan_set_default_pvid()
774 if ((!old_pvid || vlan_default_pvid(vg, old_pvid)) && in __br_vlan_set_default_pvid()
782 br_vlan_delete(br, old_pvid); in __br_vlan_set_default_pvid()
791 if ((old_pvid && in __br_vlan_set_default_pvid()
792 !vlan_default_pvid(vg, old_pvid)) || in __br_vlan_set_default_pvid()
801 nbp_vlan_delete(p, old_pvid); in __br_vlan_set_default_pvid()
816 if (old_pvid) in __br_vlan_set_default_pvid()
817 nbp_vlan_add(p, old_pvid, in __br_vlan_set_default_pvid()
824 if (old_pvid) in __br_vlan_set_default_pvid()
825 br_vlan_add(br, old_pvid, in __br_vlan_set_default_pvid()