]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: use DLIST for adv_fifo
authorDavid Lamparter <equinox@diac24.net>
Mon, 20 May 2019 21:41:16 +0000 (23:41 +0200)
committerDavid Lamparter <equinox@diac24.net>
Tue, 21 May 2019 20:46:48 +0000 (22:46 +0200)
commit9636281863de2cf810ca3adaeb943569851b2f97
treebeadb5dfe7ce5881f1bcfc9c53f026e021b13e68
parent074bbdae350c5a0c982a968696ab417e1d74ad06
bgpd: use DLIST for adv_fifo

I mistakenly assumed that something called "FIFO" would primarily be
used by removing items from the front.  This isn't the case for the
adv_fifo... so use a DLIST there to make sure deletions from the middle
of the queue are fast.

Signed-off-by: David Lamparter <equinox@diac24.net>
(cherry picked from commit 5ac8ecbabd9638f726fdff5d49b43e675a47e434)
bgpd/bgp_advertise.h