diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-04-02 08:53:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-02 19:56:21 +0200 |
commit | 6d670497e01803b486aa72cc1a718401ab986896 (patch) | |
tree | b6c04cf9dbf218980ee7c25b16dd0449e817e77c /ipc/sem.c | |
parent | tg3: allow ethtool -p to work for NICs in down state (diff) | |
download | linux-6d670497e01803b486aa72cc1a718401ab986896.tar.xz linux-6d670497e01803b486aa72cc1a718401ab986896.zip |
openvswitch: use after free in __ovs_ct_free_action()
We free "ct_info->ct" and then use it on the next line when we pass it
to nf_ct_destroy_timeout(). This patch swaps the order to avoid the use
after free.
Fixes: 06bd2bdf19d2 ("openvswitch: Add timeout support to ct action")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions