diff options
| author | Dan Carpenter <[email protected]> | 2018-03-21 08:09:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-22 18:30:36 +0000 |
| commit | 5dcd8400884cc4a043a6d4617e042489e5d566a9 (patch) | |
| tree | 6ffd19f1f6b32995583adacc662a3faf9d424e74 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | Merge tag 'mac80211-for-davem-2018-03-21' of git://git.kernel.org/pub/scm/lin... (diff) | |
| download | kernel-5dcd8400884cc4a043a6d4617e042489e5d566a9.tar.gz kernel-5dcd8400884cc4a043a6d4617e042489e5d566a9.zip | |
macsec: missing dev_put() on error in macsec_newlink()
We moved the dev_hold(real_dev); call earlier in the function but forgot
to update the error paths.
Fixes: 0759e552bce7 ("macsec: fix negative refcnt on parent link")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
