bonding: traffic traversing the wrong interface 49/22549/1
authorSteven Luong <[email protected]>
Fri, 4 Oct 2019 21:18:37 +0000 (14:18 -0700)
committersteven luong <[email protected]>
Sat, 5 Oct 2019 16:44:23 +0000 (16:44 +0000)
Missing an increment in the while loop. Hashes not stored in the array.

Type: fix

Signed-off-by: Steven Luong <[email protected]>
Change-Id: I603027f5a7305478f48a102ac8035ffde9102c53
(cherry picked from commit 0471cdbd3fe04a88a8b70b5f0eff0c378e19abf7)

src/vnet/bonding/device.c

index c3ff566..ae0cec1 100644 (file)
@@ -444,6 +444,7 @@ bond_tx_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
 
       n_left -= 1;
       b += 1;
+      h += 1;
     }
 }