Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2022 11:27:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264630] RDMA/cma: Set proper port number as index
Message-ID:  <bug-264630-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264630

            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: xiaohuizhang@ruc.edu.cn

Created attachment 234636
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234636&action=
=3Dedit
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264630-227>