aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSreenivasa Honnur <sreenivasa.honnur@neterion.com>2007-11-14 01:41:06 -0800
committerDavid S. Miller <davem@davemloft.net>2007-11-14 01:41:06 -0800
commit18b2b7bd09811779309592a10080fe9ffb93144d (patch)
tree12d3b9b5ece4a93a477755f9c1878f72db9cb559 /include
parent[BONDING]: Fix resource use after free (diff)
downloadlinux-dev-18b2b7bd09811779309592a10080fe9ffb93144d.tar.xz
linux-dev-18b2b7bd09811779309592a10080fe9ffb93144d.zip
[S2IO]: Fixed memory leak when MSI-X vector allocation fails
- Fixed memory leak by freeing MSI-X local entry memories when vector allocation fails in s2io_add_isr. - Added two utility functions remove_msix_isr and remove_inta_isr to eliminate code duplication. - Incorporated following review comments from Jeff - Removed redundant stats->mem_freed and synchronize_irq call - do_rem_msix_isr is renamed as remove_msix_isr - do_rem_inta_isr is renamed as remove_inta_isr Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions