bonding: traffic traversing the wrong interface 51/22551/2
authorSteven Luong <sluong@cisco.com>
Fri, 4 Oct 2019 21:18:37 +0000 (14:18 -0700)
committerDave Barach <openvpp@barachs.net>
Sun, 6 Oct 2019 12:49:09 +0000 (12:49 +0000)
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)

src/vnet/bonding/device.c

index f5470c3..21bbcb5 100644 (file)
@@ -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;
     }
 }