]> git.droids-corp.org - dpdk.git/commit
net/iavf: fix device stop
authorRadu Nicolau <radu.nicolau@intel.com>
Mon, 23 May 2022 12:04:36 +0000 (13:04 +0100)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 25 May 2022 08:50:55 +0000 (10:50 +0200)
commit5933c656b972441718d65275c6bdbec24ee71f9e
tree53872baf0fd4bf8e72446445eba148751e3ba4b5
parent3940cd9b8cb3b8b9d1ab3a7b4b18177b1e954d82
net/iavf: fix device stop

Move security context destroy from device stop to device close function.
Deleting the context on device stop can prevent the application from
properly cleaning and releasing resources.

Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
Cc: stable@dpdk.org
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_ipsec_crypto.c