aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorEdward Cree <[email protected]>2023-05-12 15:35:58 +0000
committerDavid S. Miller <[email protected]>2023-05-13 19:58:17 +0000
commitbefcc1fce564bdb20ee55be981a355b0a7d0eac5 (patch)
treeef33c16fd8d731ccd503c58d0387876f3cb0505d /net/switchdev/switchdev.c
parentnet: phylink: constify fwnode arguments (diff)
downloadkernel-befcc1fce564bdb20ee55be981a355b0a7d0eac5.tar.gz
kernel-befcc1fce564bdb20ee55be981a355b0a7d0eac5.zip
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 <[email protected]> Signed-off-by: Edward Cree <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions