vlib: autogenerate <node> before <last-in-arc> constraints 10/23610/2
authorDave Barach <dave@barachs.net>
Fri, 22 Nov 2019 22:42:58 +0000 (17:42 -0500)
committerNeale Ranns <nranns@cisco.com>
Mon, 25 Nov 2019 09:09:40 +0000 (09:09 +0000)
commit5f9f3c8de8d5d9f83a437661a98e5cc2453705f9
treeda550c1a4c06c65392583f7dfb10b8b73590a8f2
parentda47f67be23ebadc6102d359dd971ca9d9e4e33e
vlib: autogenerate <node> before <last-in-arc> constraints

If an arc declaration includes '.last_in_arc = "some-node"', assume
that folks mean it and add explicit ordering constraints.

Fix the "arp" arc declaration which claimed that the arc ends at
arp-disabled, but the arc really ends at error-drop.

Type: fix

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ie2de1fb30091671cbc7c62770903a2e05987f141
src/vnet/ethernet/arp.c
src/vnet/feature/feature.c
src/vnet/feature/feature.h
src/vnet/feature/registration.c