summaryrefslogtreecommitdiffstats
path: root/src/vnet/bonding/device.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-10-04 14:18:37 -0700
committerDave Barach <openvpp@barachs.net>2019-10-06 12:49:09 +0000
commitde0302cabf2d67bc045e843d2d01216bf7252cf0 (patch)
tree82530e34ecee189fd162e042521571a63e14e71d /src/vnet/bonding/device.c
parentac3e72cb9765f78f1cf03ff5d5ccd9ff944668b6 (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)
Diffstat (limited to 'src/vnet/bonding/device.c')
-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;
}
}