[PATCH V2 4/9] aacraid: Fix memory leak in aac_fib_map_free

2016-01-06 Thread Raghava Aditya Renukunta
From: Raghava Aditya Renukunta aac_fib_map_free() calls pci_free_consistent() without checking that dev->hw_fib_va is not NULL and dev->max_fib_size is not zero.If they are indeed NULL/0, this will result in a hang as pci_free_consistent() will attempt to

[PATCH v2 4/9] aacraid: Fix memory leak in aac_fib_map_free

2015-12-10 Thread Raghava Aditya Renukunta
From: Raghava Aditya Renukunta aac_fib_map_free() calls pci_free_consistent() without checking that dev->hw_fib_va is not NULL and dev->max_fib_size is not zero.If they are indeed NULL/0, this will result in a hang as pci_free_consistent() will attempt to