Date: Sun, 11 May 2025 08:15:06 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 286720] Broadcom bnxt driver store_cfg bug fixed Message-ID: <bug-286720-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286720 Bug ID: 286720 Summary: Broadcom bnxt driver store_cfg bug fixed Product: Base System Version: 14.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: liangyi571@163.com In bnxt_hwrm.c, at the end of function bnxt_hwrm_func_backing_store_cfg, return hwrm_send_message(softc, &req, sizeof(req)). This will cause my P2100G initial failed, because some adapter message size should under 256 bytes while sizeof(req) is over 256 bytes. In the beginning of bnxt_hwrm_func_backing_store_cfg, req_len is limited to 256, but the author forget to set it while call hwrm_send_message. So the correct code will be: hwrm_send_message(softc, &req, req_len) 717c717 < return hwrm_send_message(softc, &req, sizeof(req)); --- > return hwrm_send_message(softc, &req, req_len); -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286720-227>
