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
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.5 KB
.mailmap -rw-r--r-- 8.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 287 bytes
MAINTAINERS -rw-r--r-- 435.6 KB
Makefile -rw-r--r-- 60.6 KB
README -rw-r--r-- 722 bytes

README

back to top