HomeFreeBSD

iflib: Unlock ctx lock around call to ether_ifattach()

Description

iflib: Unlock ctx lock around call to ether_ifattach()

Panic occurs during loading driver using kldload. It exists since netlink is
enabled. There is problem with double locking ctx. This fix allows to call
ether_ifattach() without locked ctx.

Signed-off-by: Eric Joyner <erj@FreeBSD.org>

PR: 271768
Reviewed by: erj@, jhb@
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D40557

(cherry picked from commit a52f23f4c49e4766fb9eb0bf460cc83c5f63f17d)

Details

Provenance
przemyslawx.lewandowski_intel.comAuthored on Jul 19 2023, 10:40 PM
erjCommitted on Jul 20 2023, 10:56 PM
Differential Revision
D40557: iflib: add unlock to call ether_ifattach
Parents
rG58bc084de5a2: release: adjust lang/python* dependencies for GCE
Branches
Unknown
Tags
Unknown