summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorAmir Levy <alevy@codeaurora.org>2015-12-02 16:20:36 +0200
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:12:45 -0700
commit6f4bd0df93688ef0e301730a0672a9cb903ed735 (patch)
treedf0c3c3296a3518097febb1f9324b82f03bd6b0c /include/linux/workqueue.h
parent84bc8318a49a99a114ab17843f2fde94e1f41861 (diff)
msm: ipa3: fix memory leak in __ipa_reap_sys_rt_tbls
__ipa_reap_sys_rt_tbls always deletes a routing table from head_rt_tbl_list, but it releases the routing table memory only if it matches the rule type (hashabale\ non hashable). This function was called twice each time with a different rule type, therefore if a DMA memory was allocated for the non hashable type, calling the function for the hashable type first will delete the routing table entry and the next call will not release the memory. This change releases the memory for both rule types and only then deletes the routing table entry. Change-Id: Id7f655b324a20c9681a3c48877d825929bc205aa Signed-off-by: Amir Levy <alevy@codeaurora.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions