Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
9e4f1488
Commit
9e4f1488
authored
8 years ago
by
Brian Christiansen
Browse files
Options
Downloads
Patches
Plain Diff
Prevent invalid read when fed_mgr is finishing
parent
4c31e15a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/slurmctld/fed_mgr.c
+6
-2
6 additions, 2 deletions
src/slurmctld/fed_mgr.c
with
6 additions
and
2 deletions
src/slurmctld/fed_mgr.c
+
6
−
2
View file @
9e4f1488
...
...
@@ -714,10 +714,14 @@ extern int fed_mgr_fini()
lock_slurmctld
(
fed_write_lock
);
slurm_persist_conn_recv_server_fini
();
/* Call _leave_federation() before slurm_persist_conn_recv_server_fini()
* as this will NULL out the cluster's recv persistent connection before
* _server_fini() actually destroy's it. That way the cluster's recv
* connection won't be pointing to bad memory. */
_leave_federation
();
slurm_persist_conn_recv_server_fini
();
unlock_slurmctld
(
fed_write_lock
);
return
SLURM_SUCCESS
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment