aboutsummaryrefslogtreecommitdiff
path: root/50fdac45f35e83b183419eb7671df9686645afec
diff options
context:
space:
mode:
authorJanne Peltonen <janne.peltonen@nokia.com>2021-05-07 17:49:57 +0300
committerMatias Elo <matias.elo@nokia.com>2021-05-11 10:50:27 +0300
commit261ffb568ff81b51cb8361975e1091d38ccef374 (patch)
tree1dbce843c301483f9930135979f59bfeae824447 /50fdac45f35e83b183419eb7671df9686645afec
parentbfc30d18d3ba29cfc811cf1e350b7410027ed16d (diff)
linux-gen: ipsec: ignore dest_queue SA parameter in sync mode
In sync mode the dest_queue SA parameter should be ignored but the current code looks at it to determine whether running in sync or async mode. This can result in incorrect behavior or crash if an application touches the dest_queue of a sync SA after odp_ipsec_sa_param_init(). Fix the problem by clearing the internal dest_queue SA field in sync mode. Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to '50fdac45f35e83b183419eb7671df9686645afec')
0 files changed, 0 insertions, 0 deletions