bonding: Compare ports, not interfaces, for loop checks.
authorJesse Gross <jesse@nicira.com>
Thu, 8 Oct 2009 19:20:10 +0000 (12:20 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 8 Oct 2009 20:47:07 +0000 (13:47 -0700)
commit97b7b2f410e487f59ae3690213cfc8de0c8b88fb
tree516011641cfe126457e3711a61479bdcda43516c
parent6a5d4138d6317922fd3386f096ff45f08cdc9544
bonding: Compare ports, not interfaces, for loop checks.

In order to avoid loops we check that the input and output ports
are not equal.  When selecting mirror outputs for RSPAN we were
checking interfaces instead of ports.  This lead to loops when
using RSPAN with bonded ports.

Bug #2118
vswitchd/bridge.c