diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2023-05-12 16:35:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-13 20:58:17 +0100 |
commit | befcc1fce564bdb20ee55be981a355b0a7d0eac5 (patch) | |
tree | ef33c16fd8d731ccd503c58d0387876f3cb0505d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a0b7955310a445fc0d45a0ac576bad8720cd6057 (diff) |
sfc: fix use-after-free in efx_tc_flower_record_encap_match()
When writing error messages to extack for pseudo collisions, we can't
use encap->type as encap has already been freed. Fortunately the
same value is stored in local variable em_type, so use that instead.
Fixes: 3c9561c0a5b9 ("sfc: support TC decap rules matching on enc_ip_tos")
Reported-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions