diff options
| author | Vasily Averin <[email protected]> | 2007-07-17 04:04:24 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-17 10:23:06 -0700 |
| commit | 1725d71d992f5947bdd5b4f9a30fe8a05571fe66 (patch) | |
| tree | 3f75479254b5ce59fd9e47a4603c2e01e1c946e3 /include/linux | |
| parent | 2bf68a3699601bd3e53b4efce7f2d780e243aa35 (diff) | |
i2o_cfg_passthru cleanup
This patch fixes a number of issues in i2o_cfg_passthru{,32}:
- i2o_msg_get_wait() return vaile is not checked;
- i2o_message memory leaks on error paths;
- infinite loop to sg_list_cleanup in passthru32
It's important issue because of i2o_cfg_passthru is used by raidutils for
monitorig controllers state, and in case of memory shortage it leads to the
node crash or disk IO stall.
[[email protected]: fix null-ptr deref]
Signed-off-by: Vasily Averin <[email protected]>
Acked-by: Alan Cox <[email protected]>
Cc: Markus Lidel <[email protected]>
Acked-by: Kirill Korotaev <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions