mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 09:16:34 +00:00
![]() A while ago all FRR configuration commands were converted to use the QOBJ infrastructure to keep track of configuration objects. This means the configuration lock isn't necessary anymore because the QOBJ code detects when someones tries to edit a configuration object that was deleted and react accordingly (log an error and abort the command). The possibility of accessing dangling pointers doesn't exist anymore since vty->index was removed. Summary of the changes: * remove the configuration lock and the vty_config_lockless() function. * rename vty_config_unlock() to vty_config_exit() since we need to clean up a few things when exiting from the configuration mode. * rename vty_config_lock() to vty_config_enter() to remove code duplication that existed between the three different "configuration" commands (terminal, private and exclusive). Configuration commands converted to the new northbound model don't need the configuration lock either since the northbound API also detects when someone tries to edit a configuration object that doesn't exist anymore. Signed-off-by: Renato Westphal <renato@opensourcerouting.org> |
||
---|---|---|
.. | ||
.gitignore | ||
accept.c | ||
address.c | ||
adjacency.c | ||
control.c | ||
control.h | ||
hello.c | ||
init.c | ||
interface.c | ||
keepalive.c | ||
l2vpn.c | ||
labelmapping.c | ||
lde_lib.c | ||
lde.c | ||
lde.h | ||
ldp_debug.c | ||
ldp_debug.h | ||
ldp_vty_cmds.c | ||
ldp_vty_conf.c | ||
ldp_vty_exec.c | ||
ldp_vty.h | ||
ldp_zebra.c | ||
ldp.h | ||
ldpd.c | ||
ldpd.conf.sample | ||
ldpd.h | ||
ldpe.c | ||
ldpe.h | ||
log.c | ||
log.h | ||
logmsg.c | ||
Makefile | ||
neighbor.c | ||
notification.c | ||
packet.c | ||
pfkey.c | ||
socket.c | ||
subdir.am | ||
util.c |