Project

General

Profile

Bug #6272

vnics/etherstubs missing initial link state

Added by Robert Mustacchi about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
networking
Start date:
2015-09-30
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

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.

History

#1

Updated by Electric Monk about 4 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>

Also available in: Atom PDF