summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-05-29 20:47:37 +0200
committerDavid S. Miller <davem@davemloft.net>2012-05-30 23:52:16 +0200
commit2e1d4a065a77d076a679df22a4eddbc7e33cad98 (patch)
treecdb5d79a42fa471f94f8fb5c45db6a40cdac1561 /net
parentvirtio-net: remove useless disable on freeze (diff)
downloadlinux-2e1d4a065a77d076a679df22a4eddbc7e33cad98.tar.xz
linux-2e1d4a065a77d076a679df22a4eddbc7e33cad98.zip
net/smsc911x: Repair broken failure paths
Current failure paths attempt to free resources which we failed to request and disable resources which we failed to enable ones. This leads to kernel oops/panic. This patch does some simple re-ordering to prevent this from happening. Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions