bonding: drop traffic on backup interface for active-backup mode 79/24079/2
authorSteven Luong <sluong@cisco.com>
Sat, 7 Dec 2019 05:12:41 +0000 (21:12 -0800)
committerDave Barach <openvpp@barachs.net>
Sat, 4 Jan 2020 14:51:46 +0000 (14:51 +0000)
commit2efa3e76b200374ae34a4a71ce66031feb8209fe
tree3a24fca39a60fe71ecc65b422c9f795a740d1193
parenta82f590c03bb2f49ca7322adf5ef04e7e3fbe4c9
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
(cherry picked from commit 6dfd3785e4d65418f4330a73bf837912c37b8ec2)
src/vnet/bonding/node.c