Fix the federation save/restore code.
Remove the temporary fed_libstate_t structs used in switch_p_libstate_[save|restore], and therefore eliminate the fed_libstate_t copies. This required some rearranging of code to put make the locking safe.
Showing
- src/plugins/switch/federation/federation.c 77 additions, 66 deletionssrc/plugins/switch/federation/federation.c
- src/plugins/switch/federation/federation.h 3 additions, 5 deletionssrc/plugins/switch/federation/federation.h
- src/plugins/switch/federation/switch_federation.c 7 additions, 24 deletionssrc/plugins/switch/federation/switch_federation.c
Loading
Please register or sign in to comment