bonding: drop traffic on backup interface for active-backup mode 62/23862/5
authorSteven Luong <sluong@cisco.com>
Sat, 7 Dec 2019 05:12:41 +0000 (21:12 -0800)
committerDamjan Marion <dmarion@me.com>
Tue, 17 Dec 2019 18:11:43 +0000 (18:11 +0000)
commit6dfd3785e4d65418f4330a73bf837912c37b8ec2
tree5d6d5f1ce75789fba503121d4403e5c70922b40e
parent4ff8d615caf992a643abe7506f289c499de10d5c
bonding: drop traffic on backup interface for active-backup mode

For active-backup mode, we transmit on one and only one interface. However,
we might still receive traffic on the backup interface. We should drop them
and strictly process incoming traffic on only the active interface.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Idb6b798b30033e84044b151c616be3c157329731
src/vnet/bonding/node.c