|
@@ -285,9 +285,7 @@ static int fcoe_interface_setup(struct fcoe_interface *fcoe,
|
|
|
}
|
|
|
|
|
|
/* Do not support for bonding device */
|
|
|
- if ((netdev->priv_flags & IFF_MASTER_ALB) ||
|
|
|
- (netdev->priv_flags & IFF_SLAVE_INACTIVE) ||
|
|
|
- (netdev->priv_flags & IFF_MASTER_8023AD)) {
|
|
|
+ if (netdev->priv_flags & IFF_BONDING && netdev->flags & IFF_MASTER) {
|
|
|
FCOE_NETDEV_DBG(netdev, "Bonded interfaces not supported\n");
|
|
|
return -EOPNOTSUPP;
|
|
|
}
|