summaryrefslogtreecommitdiffstats
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-05-28 15:18:37 +0200
committerRenato Westphal <renato@opensourcerouting.org>2018-10-27 20:16:12 +0200
commit1dde2fbf7893670c0b44abab261c74f4ef7636ae (patch)
tree0733f0d9c5260467f700b5775d10f2a49cc27c22 /ripd/rip_interface.c
parentripd: fix SIGHUP handling (diff)
downloadfrr-1dde2fbf7893670c0b44abab261c74f4ef7636ae.tar.xz
frr-1dde2fbf7893670c0b44abab261c74f4ef7636ae.zip
ripd: remove vty configuration lock
The vty configuration lock is used to prevent inconsistencies when multiple users are editing the configuration at the same time. The pointer stored in vty->index might become invalid if the associated configuration object is removed by another user in another CLI session. Commands converted to the new northbound model don't use vty->index, but vty->xpath_index and the vty->xpath array. The nb_cli_cfg_change() function uses the VTY_CHECK_XPATH macro to check if the configuration object being edited still exists and returns an error if it doesn't. Now that all ripd commands were converted to the new northbound model, remove the ripd vty lock because it's not necessary anymore. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ripd/rip_interface.c')
0 files changed, 0 insertions, 0 deletions