[Bug 264630] RDMA/cma: Set proper port number as index
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jun 2022 11:27:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264630 Bug ID: 264630 Summary: RDMA/cma: Set proper port number as index Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: email@example.com Created attachment 234636 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234636&action=edit a possible patch Conversion from IDR to XArray missed the fact that idr_alloc() returned index as a return value, this index was saved in port variable and used as query index later on. This caused to the following error. -- You are receiving this mail because: You are the assignee for the bug.