Bug #6272
vnics/etherstubs missing initial link state
Start date:
2015-09-30
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
vnics and etherstubs don't properly initialize their link state. Most drivers do this based upon getting the link state interrupts that they have. However, while vnics logically do something similar, the interrupt of sorts is really a link state change notification from the upstream source. This means that vnics are in an unknown link state until their upstream changes.
Instead, we should initialize it to the state of the parent device. In addition, etherstubs should always be considered up.
Updated by Electric Monk over 5 years ago
- Status changed from New to Closed
git commit bf773d37f3253ade20599b1f3df2732d1b2ae424
commit bf773d37f3253ade20599b1f3df2732d1b2ae424 Author: Robert Mustacchi <rm@joyent.com> Date: 2015-10-08T00:54:58.000Z 6272 vnics/etherstubs missing initial link state Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>