bonding: graph node running after bond-input in feature arc may crash 58/22658/3
authorSteven Luong <sluong@cisco.com>
Thu, 10 Oct 2019 18:36:41 +0000 (11:36 -0700)
committerDamjan Marion <dmarion@me.com>
Wed, 16 Oct 2019 18:39:14 +0000 (18:39 +0000)
commit71e5b4710258376873c62428cb4a81b2a650fc26
treef26d0653980e915b0ab7560ca1bb6416c119d2e8
parent94e4dea15ac704a40617fe8bcfcce74e2d890856
bonding: graph node running after bond-input in feature arc may crash

In bond RX quad loop, when all packets within the frame have the same incoming
interface, we cannot skip calling bond_update_next because that function calls
vnet_feature_next() to update the b->current_config_index. The next node needs
the correct b->current_config_index to work with.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I3d8b3d4e0f95490f406fae7638f0c43c301ce664
src/vnet/bonding/node.c
src/vnet/feature/feature.h