aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorVitaly Lifshits <[email protected]>2020-10-21 14:59:37 +0300
committerTony Nguyen <[email protected]>2021-03-11 09:37:48 -0800
commit21f857f0321d0d0ea9b1a758bd55dc63d1cb2437 (patch)
tree437de1337bde9ae70b2f6e6e6d661f794843f684 /tools/perf/scripts/python/intel-pt-events.py
parentfc9e5020971d57d7d0b3fef9e2ab2108fcb5588b (diff)
e1000e: add rtnl_lock() to e1000_reset_task
A possible race condition was found in e1000_reset_task, after discovering a similar issue in igb driver via commit 024a8168b749 ("igb: reinit_locked() should be called with rtnl_lock"). Added rtnl_lock() and rtnl_unlock() to avoid this. Fixes: bc7f75fa9788 ("[E1000E]: New pci-express e1000 driver (currently for ICH9 devices only)") Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Vitaly Lifshits <[email protected]> Tested-by: Dvora Fuxbrumer <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions