Skip to content
Snippets Groups Projects
Commit e1667fa2 authored by Ying Xue's avatar Ying Xue Committed by Greg Kroah-Hartman
Browse files

atm: idt77252: fix dev refcnt leak


[ Upstream commit b5de4a22 ]

init_card() calls dev_get_by_name() to get a network deceive. But it
doesn't decrease network device reference count after the device is
used.

Signed-off-by: default avatarYing Xue <ying.xue@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bdf1643e
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment