Don't explicitly invoke ifn_start on new child interfaces (vaps and
subinterfaces) after they are created. Interfaces are already started by devd invoking /etc/pccard_ether when they are created, so the explicit calls in childif_create() resulted in interfaces being started twice. Note that interfaces created via cloned_interfaces are not explicitly started but depend on the devd mechanism already. MFC after: 1 week
This commit is contained in:
parent
37968927c8
commit
765f1c5ae7
@ -1429,9 +1429,6 @@ childif_create()
|
||||
fi
|
||||
${IFCONFIG_CMD} $i name $child && cfg=0
|
||||
fi
|
||||
if autoif $child; then
|
||||
ifn_start $child
|
||||
fi
|
||||
done
|
||||
|
||||
# Create vlan interfaces
|
||||
@ -1455,9 +1452,6 @@ childif_create()
|
||||
${IFCONFIG_CMD} $i name $child && cfg=0
|
||||
fi
|
||||
fi
|
||||
if autoif $child; then
|
||||
ifn_start $child
|
||||
fi
|
||||
done
|
||||
|
||||
return ${cfg}
|
||||
|
Loading…
x
Reference in New Issue
Block a user