fix qwx_core_pdev_create() to not drop into its error path on success
authorstsp <stsp@openbsd.org>
Tue, 30 Jan 2024 15:30:13 +0000 (15:30 +0000)
committerstsp <stsp@openbsd.org>
Tue, 30 Jan 2024 15:30:13 +0000 (15:30 +0000)
commitd3a26d4c1b3ed60d0e0c38be6f9f21e75cc3f026
treed8318eaaec262066ad9f2f2b3a9e088a6869f41a
parent3df8755f76ee673080b958c208c537efddc60aa5
fix qwx_core_pdev_create() to not drop into its error path on success

Otherwise we free rings that were just allocated, causing mbuf corruption.
sys/dev/ic/qwx.c