aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
diff options
context:
space:
mode:
authorYinjun Zhang <[email protected]>2021-10-29 11:29:03 +0000
committerDavid S. Miller <[email protected]>2021-10-29 12:25:32 +0000
commit17e712c6a1bade9dac02a7bf2b464746faa7e9a0 (patch)
tree324f4962baced91ffd5cb09e37ac42f883492a29 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h
parentnfp: fix NULL pointer access when scheduling dim work (diff)
downloadkernel-17e712c6a1bade9dac02a7bf2b464746faa7e9a0.tar.gz
kernel-17e712c6a1bade9dac02a7bf2b464746faa7e9a0.zip
nfp: fix potential deadlock when canceling dim work
When port is linked down, the process which has acquired rtnl_lock will wait for the in-progress dim work to finish, and the work also acquires rtnl_lock, which may cause deadlock. Currently IRQ_MOD registers can be configured by `ethtool -C` and dim work, and which will take effect depends on the execution order, rtnl_lock is useless here, so remove them. Fixes: 9d32e4e7e9e1 ("nfp: add support for coalesce adaptive feature") Signed-off-by: Yinjun Zhang <[email protected]> Signed-off-by: Louis Peens <[email protected]> Signed-off-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions