summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-03-21 11:09:01 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-22 14:30:36 -0400
commit5dcd8400884cc4a043a6d4617e042489e5d566a9 (patch)
tree6ffd19f1f6b32995583adacc662a3faf9d424e74 /include/linux
parente0645d9b9673560dab6e6274ee1d7583a2b51350 (diff)
downloadlinux-5dcd8400884cc4a043a6d4617e042489e5d566a9.tar.gz
linux-5dcd8400884cc4a043a6d4617e042489e5d566a9.tar.bz2
linux-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 <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions