diff options
| author | Jan Sokolowski <[email protected]> | 2021-06-11 10:01:41 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-06-24 18:06:37 +0000 |
| commit | 956e759d5f8e0859e86b951a8779c60af633aafd (patch) | |
| tree | 73da8b17c96f4ec436450ff62502aba86ee4830a /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | |
| parent | i40e: fix PTP on 5Gb links (diff) | |
| download | kernel-956e759d5f8e0859e86b951a8779c60af633aafd.tar.gz kernel-956e759d5f8e0859e86b951a8779c60af633aafd.zip | |
i40e: Fix missing rtnl locking when setting up pf switch
A recent change that made i40e use new udp_tunnel infrastructure
uses a method that expects to be called under rtnl lock.
However, not all codepaths do the lock prior to calling
i40e_setup_pf_switch.
Fix that by adding additional rtnl locking and unlocking.
Fixes: 40a98cb6f01f ("i40e: convert to new udp_tunnel infrastructure")
Signed-off-by: Jan Sokolowski <[email protected]>
Signed-off-by: Mateusz Palczewski <[email protected]>
Tested-by: Tony Brelinski <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
0 files changed, 0 insertions, 0 deletions
