]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: The l2vni list compare function does not sort
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 15 Oct 2018 15:41:39 +0000 (11:41 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 15 Oct 2018 15:41:39 +0000 (11:41 -0400)
commit644657850ac5315478fbd14fb706c1c85fa8eae1
treee60bc9a46de53484aae519ae2490103f12c0e0e9
parentc9e3c7bfb284802c0965cd93b7a43e435bc59464
bgpd: The l2vni list compare function does not sort

The purpose of adding a l2vni as an sorted list is
shot in the foot when the l2vni compare function only
returns 0 or 1.  This will cause subtle crashes when
we add sorted and we end up with multiple list node pointing
to the same thing.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_evpn.c