vlib: autogenerate <node> before <last-in-arc> constraints 77/23677/2
authorDave Barach <[email protected]>
Fri, 22 Nov 2019 22:42:58 +0000 (17:42 -0500)
committerAndrew Yourtchenko <[email protected]>
Thu, 6 Feb 2020 12:22:03 +0000 (12:22 +0000)
commitf540ca8016ee030b24af57a6a91fa27dc0944b04
treead910f1d26a03525b44a34a1c98370c97366c1b6
parent779cb5671946beece1d8bb751a9f58d76bcf70b4
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 <[email protected]>
Change-Id: Ie2de1fb30091671cbc7c62770903a2e05987f141
(cherry picked from commit 5f9f3c8de8d5d9f83a437661a98e5cc2453705f9)
src/vnet/ethernet/arp.c
src/vnet/feature/feature.c
src/vnet/feature/feature.h
src/vnet/feature/registration.c