]> git.proxmox.com Git - mirror_frr.git/commit - lib/linklist.h
lib: return listnode on add for subsequent efficent del
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Tue, 19 Mar 2019 18:39:51 +0000 (11:39 -0700)
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>
Sat, 20 Apr 2019 15:33:20 +0000 (08:33 -0700)
commit315999e9b424b5824c28796ba62e43df1bb4cf2c
tree3b5886e3e505c5a024bfe544dbbeede0fccea0c4
parentc6b6b53b294ae37e35f802769a6da21a88f63e18
lib: return listnode on add for subsequent efficent del

Having to lookup the DLL node to delete it defeats one purpose of using
DLLs.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
lib/linklist.c
lib/linklist.h