HomeFreeBSD

In ue_attach_post_task(), initialize curvnet to vnet0 before calling if_attach…

Description

In ue_attach_post_task(), initialize curvnet to vnet0 before calling if_attach().
Before this patch, curvnet was NULL.
When the VIMAGE kernel option is enabled, this eliminates
kernel panics when USB ethernet devices are plugged in.

PR: 183835
Submitted by: Hiroo Oono <hiroo.ono at gmail dot com>

Details

Provenance
rodrigcAuthored on
Parents
rS262141: MFC 259140:
Branches
Unknown
Tags
Unknown

Event Timeline