1
1

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.
Этот коммит содержится в:
Brian Barrett 2007-01-24 16:39:16 +00:00
родитель 4fd81b3407
Коммит 6919ccfd2b

Просмотреть файл

@ -241,6 +241,12 @@ static int opal_ifinit(void)
}
if ((ifr->ifr_flags & IFF_UP) == 0)
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 ((ifr->ifr_flags & IFF_LOOPBACK) != 0)
continue;