https://github.com/torvalds/linux
Revision 5dcd8400884cc4a043a6d4617e042489e5d566a9 authored by Dan Carpenter on 21 March 2018, 08:09:01 UTC, committed by David S. Miller on 22 March 2018, 18:30:36 UTC
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>
1 parent e0645d9
History
Tip revision: 5dcd8400884cc4a043a6d4617e042489e5d566a9 authored by Dan Carpenter on 21 March 2018, 08:09:01 UTC
macsec: missing dev_put() on error in macsec_newlink()
Tip revision: 5dcd840

back to top