diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-04-16 13:17:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-16 17:01:12 +0300 |
commit | bd28899dd34f9283c567f7eeb31bb546f10820b5 (patch) | |
tree | fcfed1bd77ffee1353967ac7aae1952ec327c1fc /net/mac80211/michael.h | |
parent | c246fd333f84e6a0a8572f991637aa102f5e1865 (diff) | |
download | linux-bd28899dd34f9283c567f7eeb31bb546f10820b5.tar.xz |
Revert "macsec: missing dev_put() on error in macsec_newlink()"
This patch is just wrong, sorry. I was trying to fix a static checker
warning and misread the code. The reference taken in macsec_newlink()
is released in macsec_free_netdev() when the netdevice is destroyed.
This reverts commit 5dcd8400884cc4a043a6d4617e042489e5d566a9.
Reported-by: Laura Abbott <labbott@redhat.com>
Fixes: 5dcd8400884c ("macsec: missing dev_put() on error in macsec_newlink()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/michael.h')
0 files changed, 0 insertions, 0 deletions