[Bug 273152] cxgbe: panic in sousrsend() after enabling "toe"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Aug 2023 16:08:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273152

--- Comment #4 from Greg Becker <greg@codeconcepts.com> ---
FWIW, the following patch does seem to allow loading t4_tom from loader.conf.


diff --git a/sys/dev/cxgbe/tom/t4_tom.c b/sys/dev/cxgbe/tom/t4_tom.c
index cb2131a4c0c2..218a70da0402 100644
--- a/sys/dev/cxgbe/tom/t4_tom.c
+++ b/sys/dev/cxgbe/tom/t4_tom.c
@@ -2068,4 +2068,4 @@ static moduledata_t t4_tom_moddata= {
 MODULE_VERSION(t4_tom, 1);
 MODULE_DEPEND(t4_tom, toecore, 1, 1, 1);
 MODULE_DEPEND(t4_tom, t4nex, 1, 1, 1);
-DECLARE_MODULE(t4_tom, t4_tom_moddata, SI_SUB_EXEC, SI_ORDER_ANY);
+DECLARE_MODULE(t4_tom, t4_tom_moddata, SI_SUB_LAST, SI_ORDER_ANY);

-- 
You are receiving this mail because:
You are the assignee for the bug.