diff options
author | Lee Jones <[email protected]> | 2012-05-29 18:47:37 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-05-30 17:52:16 -0400 |
commit | 2e1d4a065a77d076a679df22a4eddbc7e33cad98 (patch) | |
tree | cdb5d79a42fa471f94f8fb5c45db6a40cdac1561 /net/lapb/lapb_out.c | |
parent | 3bbf372c6c60255585783bb08ab477a72b918196 (diff) |
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: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions