Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e363e014
Commit
e363e014
authored
May 03, 2011
by
Stephen M. Cameron
Committed by
Jens Axboe
May 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cciss: fix reply pool and block fetch table memory leaks
Signed-off-by:
Jens Axboe
<
jaxboe@fusionio.com
>
parent
2b48085f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/block/cciss.c
drivers/block/cciss.c
+4
-0
No files found.
drivers/block/cciss.c
View file @
e363e014
...
...
@@ -4988,6 +4988,10 @@ static void __devexit cciss_remove_one(struct pci_dev *pdev)
kfree
(
h
->
scatter_list
[
j
]);
kfree
(
h
->
scatter_list
);
cciss_free_sg_chain_blocks
(
h
->
cmd_sg_list
,
h
->
nr_cmds
);
kfree
(
h
->
blockFetchTable
);
if
(
h
->
reply_pool
)
pci_free_consistent
(
h
->
pdev
,
h
->
max_commands
*
sizeof
(
__u64
),
h
->
reply_pool
,
h
->
reply_pool_dhandle
);
/*
* Deliberately omit pci_disable_device(): it does something nasty to
* Smart Array controllers that pci_enable_device does not undo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment