diff options
author | Maciej Fijalkowski <maciej.fijalkowski@intel.com> | 2022-03-17 21:36:27 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-04-05 19:07:08 +0300 |
commit | f9124c68f05ffdb87a47e3ea6d5fae9dad7cb6eb (patch) | |
tree | 22b46000d1aa610efc239e7077a96954527d6c61 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1158f79f82d437093aeed87d57df0548bdd68146 (diff) | |
download | linux-f9124c68f05ffdb87a47e3ea6d5fae9dad7cb6eb.tar.xz |
ice: synchronize_rcu() when terminating rings
Unfortunately, the ice driver doesn't respect the RCU critical section that
XSK wakeup is surrounded with. To fix this, add synchronize_rcu() calls to
paths that destroy resources that might be in use.
This was addressed in other AF_XDP ZC enabled drivers, for reference see
for example commit b3873a5be757 ("net/i40e: Fix concurrency issues
between config flow and XSK")
Fixes: efc2214b6047 ("ice: Add support for XDP")
Fixes: 2d4238f55697 ("ice: Add support for AF_XDP")
Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Shwetha Nagaraju <shwetha.nagaraju@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions