commit | a4723848d05dd31d298c551fb77ad28481309999 | [log] [tgz] |
---|---|---|
author | tom.leiming@gmail.com <tom.leiming@gmail.com> | Sun Apr 29 22:51:03 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed May 02 20:13:04 2012 -0400 |
tree | 8d3e6a96e1e609700aa10a26148900172362a7c0 | |
parent | 720f3d7cb19eb27f85f72836c8f8004ccb257f39 [diff] |
usbnet: fix failure handling in usbnet_probe If register_netdev returns failure, the dev->interrupt and its transfer buffer should be released, so just fix it. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>