If bringing up a queue fails, only tear down the ones that we set up
authorjmatthew <jmatthew@openbsd.org>
Wed, 10 Jan 2024 05:06:00 +0000 (05:06 +0000)
committerjmatthew <jmatthew@openbsd.org>
Wed, 10 Jan 2024 05:06:00 +0000 (05:06 +0000)
commit9a5ce850414289c06a44e462bb43f20315169979
tree868910538203135713f676be3cb670815be5a2d2
parentd556a964e02c8a0fe2c0c04dc5814c59e7989dc1
If bringing up a queue fails, only tear down the ones that we set up
successfully, rather than trying to tear them all down and crashing.

tested by hrvoje, who can make queue setup fail sometimes
ok bluhm@
sys/dev/pci/if_bnxt.c