]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS/IB: active bonding port state fix for intfs added late
authorMukesh Kacker <mukesh.kacker@oracle.com>
Sun, 23 Apr 2017 00:33:45 +0000 (17:33 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 06:06:57 +0000 (23:06 -0700)
commitc59a853d8daf06c1b198eff4fef390e19a543c33
tree3d0be977a11fc8bde74b91024eac62cc97062faa
parent55b67b23d9591b643905318635776a68d889473f
RDS/IB: active bonding port state fix for intfs added late

When new interfaces are added after boot or a late notifier
events cause an interface to be added late, there is need
to make sure port state moves to UP or DOWN (and does not
stay in INIT state) regardless of order of the initialization
of data structures racing with NETDEV notifier events.

Without that subsequent failover/failback processing may
not happen properly as it looks for port_state in
UP or DOWN state.

Orabug: 26081079

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Reviewed-by: Wengang Wang <wen.gang.wang@oracle.com>
net/rds/ib.c