On 5/24/21 11:08 AM, Thierry Herbelot wrote: > Use vc_req only after it was checked not to be NULL. > > Fixes: 2d962bb736521 ("vhost/crypto: fix possible TOCTOU attack") > Cc: sta...@dpdk.org > Cc: Maxime Coquelin <maxime.coque...@redhat.com> > Cc: Chenbo Xia <chenbo....@intel.com> > > Signed-off-by: Thierry Herbelot <thierry.herbe...@6wind.com> > -- > V2: fix copy/paste typo > --- > lib/vhost/vhost_crypto.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > Applied to dpdk-next-virtio/main. Thanks, Maxime