aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-10-04 14:18:37 -0700
committersteven luong <sluong@cisco.com>2019-10-05 16:45:03 +0000
commit8f4fccab9f7614f63dbae6aafd332c5beb71dba4 (patch)
treeaab7f2554b3feb29ef9e491f32b35ec43a6f5ee9
parentba55df18b5626f71377a8d358d6a146ca39b8706 (diff)
bonding: traffic traversing the wrong interface
Missing an increment in the while loop. Hashes not stored in the array. Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I603027f5a7305478f48a102ac8035ffde9102c53 (cherry picked from commit 0471cdbd3fe04a88a8b70b5f0eff0c378e19abf7)
-rw-r--r--src/vnet/bonding/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/bonding/device.c b/src/vnet/bonding/device.c
index f5470c3ff2d..21bbcb51f1d 100644
--- a/src/vnet/bonding/device.c
+++ b/src/vnet/bonding/device.c
@@ -449,6 +449,7 @@ bond_tx_inline (vlib_main_t * vm, bond_if_t * bif, vlib_buffer_t ** b,
n_left -= 1;
b += 1;
+ h += 1;
}
}