* [dpdk-dev] [Bug 646] mrvl: memset wrong struct when session clear
@ 2021-03-02 2:36 bugzilla
2021-11-26 18:02 ` bugzilla
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-03-02 2:36 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=646
Bug ID: 646
Summary: mrvl: memset wrong struct when session clear
Product: DPDK
Version: 20.08
Hardware: ARM
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: cryptodev
Assignee: dev@dpdk.org
Reporter: hanshuang87@gmail.com
Target Milestone: ---
In function mrvl_crypto_pmd_sym_session_clear, when memset mrvl_crypto_session
object, pass wrong ptr which point to rte_cryptodev_sym_session.
original code:
memset(sess, 0, sizeof(struct mrvl_crypto_session));
It will cause a error message when do session clear:
set_sym_session_private_data: "Set private data for driver 0 not allowed"
I think the first parameter must be :
memset(mrvl_sess, 0, sizeof(struct mrvl_crypto_session));
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug 646] mrvl: memset wrong struct when session clear
2021-03-02 2:36 [dpdk-dev] [Bug 646] mrvl: memset wrong struct when session clear bugzilla
@ 2021-11-26 18:02 ` bugzilla
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2021-11-26 18:02 UTC (permalink / raw)
To: dev
https://bugs.dpdk.org/show_bug.cgi?id=646
Thomas Monjalon (thomas@monjalon.net) changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Thomas Monjalon (thomas@monjalon.net) ---
Resolved in http://git.dpdk.org/dpdk/commit/?id=03e73e8572
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-26 18:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-02 2:36 [dpdk-dev] [Bug 646] mrvl: memset wrong struct when session clear bugzilla
2021-11-26 18:02 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).