bonding: traffic traversing the wrong interface 48/22548/1
authorSteven Luong <sluong@cisco.com>
Fri, 4 Oct 2019 21:18:37 +0000 (14:18 -0700)
committerSteven Luong <sluong@cisco.com>
Fri, 4 Oct 2019 21:20:20 +0000 (14:20 -0700)
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

src/vnet/bonding/device.c

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