diff options
author | Simei Su <simei.su@intel.com> | 2023-03-22 10:24:15 +0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-04-04 08:34:52 -0700 |
commit | b4a01ace20f5c93c724abffc0a83ec84f514b98d (patch) | |
tree | 92e0478e6ee6e6fdcc7abb5c193915f5cb63c25f /sound/drivers | |
parent | 218c597325f4faf7b7a6049233a30d7842b5b2dc (diff) |
ice: fix wrong fallback logic for FDIR
When adding a FDIR filter, if ice_vc_fdir_set_irq_ctx returns failure,
the inserted fdir entry will not be removed and if ice_vc_fdir_write_fltr
returns failure, the fdir context info for irq handler will not be cleared
which may lead to inconsistent or memory leak issue. This patch refines
failure cases to resolve this issue.
Fixes: 1f7ea1cd6a37 ("ice: Enable FDIR Configure for AVF")
Signed-off-by: Simei Su <simei.su@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions