diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-03-05 23:08:45 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-03-05 23:10:09 +0100 |
commit | 9e32e288f0de3fa8c7ae1d193aec608648430759 (patch) | |
tree | 5a41141bca21dd6f43ef02adde1d35291316b42c /target/linux/ipq40xx | |
parent | 64bb88841fbc2d9a9dfee12775a18e5dc89ac16e (diff) | |
download | upstream-9e32e288f0de3fa8c7ae1d193aec608648430759.tar.gz upstream-9e32e288f0de3fa8c7ae1d193aec608648430759.tar.bz2 upstream-9e32e288f0de3fa8c7ae1d193aec608648430759.zip |
kernel: fix refcnt leak in LED netdev trigger on interface rename
This fixes a possible unbalanced dev_hold():
> iw dev bar del
[ 237.355366] unregister_netdevice: waiting for bar to become free. Usage count = 1
[ 247.435362] unregister_netdevice: waiting for bar to become free. Usage count = 1
[ 257.545366] unregister_netdevice: waiting for bar to become free. Usage count = 1
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/ipq40xx')
0 files changed, 0 insertions, 0 deletions