]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
atm: idt77252: fix dev refcnt leak
authorYing Xue <ying.xue@windriver.com>
Tue, 19 Nov 2013 10:09:27 +0000 (18:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Nov 2013 20:53:02 +0000 (15:53 -0500)
commitb5de4a22f157ca345cdb3575207bf46402414bc1
treec88e8ec5f27650e3b5ca593e83f6d037cbf57afa
parent236c9f84868534c718b6889aa624de64763281f9
atm: idt77252: fix dev refcnt leak

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: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/idt77252.c