vppinfra: fix rbtree node delete 46/20246/2
authorFlorin Coras <fcoras@cisco.com>
Wed, 19 Jun 2019 23:45:09 +0000 (16:45 -0700)
committerFlorin Coras <fcoras@cisco.com>
Wed, 19 Jun 2019 23:50:30 +0000 (16:50 -0700)
commitd314963d0f1d12c45c55c7fd210f93c5cac3a8fc
tree70e630d04046e8a4c5e1fe261bdae402ce4f6798
parent6ac96762dc2631bb1c720057f2b9dd854c69b767
vppinfra: fix rbtree node delete

Type:fix

Make sure tnil color is black and that the right node colors are
updated.

Change-Id: Ibd9d7ea9438df4dab977202955957824723a865d
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/plugins/unittest/rbtree_test.c
src/vppinfra/rbtree.c