Don't pass up slave devices in a channel bonding situation as valid
network interfaces, as they shouldn't directly be used This commit was SVN r13272.
Этот коммит содержится в:
родитель
4fd81b3407
Коммит
6919ccfd2b
@ -241,6 +241,12 @@ static int opal_ifinit(void)
|
|||||||
}
|
}
|
||||||
if ((ifr->ifr_flags & IFF_UP) == 0)
|
if ((ifr->ifr_flags & IFF_UP) == 0)
|
||||||
continue;
|
continue;
|
||||||
|
#ifdef IFF_SlAVE
|
||||||
|
/* Is this a slave to a load balancer or bonded channel?
|
||||||
|
If so, don't use it -- pick up the master instead */
|
||||||
|
if ((ifr->ifr_flags & IFF_SLAVE) != 0)
|
||||||
|
continue;
|
||||||
|
#endif
|
||||||
#if 0
|
#if 0
|
||||||
if ((ifr->ifr_flags & IFF_LOOPBACK) != 0)
|
if ((ifr->ifr_flags & IFF_LOOPBACK) != 0)
|
||||||
continue;
|
continue;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user