]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): Fix virtual interface reattach.
authorNavdeep Parhar <np@FreeBSD.org>
Tue, 2 Jan 2024 21:20:45 +0000 (13:20 -0800)
committerNavdeep Parhar <np@FreeBSD.org>
Wed, 3 Jan 2024 19:21:46 +0000 (11:21 -0800)
commit0201eb29dde9dccbf796f81fbf18f3b21798183d
tree6e910041e1c31f3326a9a771bdf0271a5449e03f
parent2c5dcc54473f4136c872987b3126540d61808b07
cxgbe(4): Fix virtual interface reattach.

Replace the DOOMED flag with a transient DETACHING flag that is cleared
when VI is detached.  This fixes VI reattach when only the VI and not
the parent nexus is detached.  The old flag was never cleared and
prevented subsequent synch op's related to the VI.

PR: 275260
Reviewed by: jhb
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43287
Sponsored by: Chelsio Communications
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/t4_main.c