[Bug 1172] hash: return value is different from the description

bugzilla at dpdk.org bugzilla at dpdk.org
Thu Mar 2 09:23:43 CET 2023


https://bugs.dpdk.org/show_bug.cgi?id=1172

            Bug ID: 1172
           Summary: hash: return value is different from the description
           Product: DPDK
           Version: 23.03
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: other
          Assignee: dev at dpdk.org
          Reporter: ccm at ccm.ink
  Target Milestone: ---

The rte_hash_lookup_data function has the potential to return a ZERO value,
contrary to what the description indicates. The description specifies that "A
positive value that can be used by the caller as an offset into an array of
user data".

To address this issue, I submitted a patch, which can be found at:
http://patches.dpdk.org/project/dpdk/patch/1656335481-238112-1-git-send-email-ccm@ccm.ink/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20230302/3a09671e/attachment.htm>


More information about the dev mailing list