opnsense-src/sys/dev/ena
John Baldwin 1ab14e185a Check for errors when detaching children first, not last
These detach routines in these drivers all ended with 'return
(bus_generic_detach())' meaning that if any child device failed to
detach, the parent driver was left in a mostly destroyed state, but
still marked attached.  Instead, bus drivers should detach child
drivers first and return errors before destroying driver state in the
parent.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D47387

(cherry picked from commit d412c07617eb35435668b024bc2cecda05f57f1f)
2025-02-27 10:17:49 -05:00
..
ena.c Check for errors when detaching children first, not last 2025-02-27 10:17:49 -05:00
ena.h ena: Update driver version to v2.8.0 2024-10-31 14:54:12 +00:00
ena_datapath.c ena: Trigger reset when mbuf is NULL error happens 2024-10-31 14:54:11 +00:00
ena_datapath.h ena: Update license signatures to 2024 2024-10-31 14:54:10 +00:00
ena_netmap.c ena: Clear NS_MOREFRAG flag for last netmap slot 2024-10-31 14:54:11 +00:00
ena_netmap.h ena: Update license signatures to 2024 2024-10-31 14:54:10 +00:00
ena_rss.c ena: Update license signatures to 2024 2024-10-31 14:54:10 +00:00
ena_rss.h ena: Update license signatures to 2024 2024-10-31 14:54:10 +00:00
ena_sysctl.c ena: Remove \n from sysctl description 2024-12-06 21:51:41 +08:00
ena_sysctl.h ena: Support LLQ entry size recommendation from device 2024-10-31 14:54:11 +00:00