HomeFreeBSD

Change attach order to prevent crash upon failure in ENA

Description

Change attach order to prevent crash upon failure in ENA

The if_detach was causing crash if the MSI-x configuration in the attach
failed. To prevent this issue, the ifnet is being configured at the end
of the attach function.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon, Inc.

Details

Committed
mwMay 30 2019, 1:24 PM
Parents
rS348398: Change order of ifp release on ENA detach
Branches
Unknown
Tags
Unknown