Download raw body.
mwx: argument order fix for m_gethdr
Stumbled upon it while reading code.
ok?
Index: sys/dev/pci/if_mwx.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_mwx.c,v
diff -u -p -u -p -r1.5 if_mwx.c
--- sys/dev/pci/if_mwx.c 22 May 2024 16:24:59 -0000 1.5
+++ sys/dev/pci/if_mwx.c 16 Feb 2025 08:45:54 -0000
@@ -2215,7 +2215,7 @@ mwx_mcu_alloc_msg(size_t len)
struct mbuf *m;
/* Allocate mbuf with enough space */
- m = m_gethdr(MT_DATA, M_DONTWAIT);
+ m = m_gethdr(M_DONTWAIT, MT_DATA);
if (m == NULL)
return NULL;
if (len + headspace > MHLEN) {
mwx: argument order fix for m_gethdr