diff options
author | Matthew Smith <mgsmith@netgate.com> | 2018-02-21 23:32:05 -0600 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-02-24 18:11:31 +0000 |
commit | a530cd0e9f2558cc32b67f9c95b257694b417b28 (patch) | |
tree | 4cc99fe42525ec9cf0a04757f1e47e767b96cf84 /test/test_vtr.py | |
parent | 3ee1fe1608cca9f000bed59ba987c864adf37cd6 (diff) |
Fix crypto session deletion crash
When using a DPDK cryptodev with IPsec, deleting a
session often results in a SEGV. A bad pointer
is being passed to rte_cryptodev_sym_session_free().
Put the correct value on the crypto disposal list and
add a check to determine whether the call to free the
session is going to result in a crash before doing
it.
Change-Id: I8a6b0a594585ebcfa56b555ede7ef7d67e5e2b33
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'test/test_vtr.py')
0 files changed, 0 insertions, 0 deletions