iscsi-scst: With CONFIG_TCP_ZERO_COPY_TRANSFER_COMPLETION_NOTIFICATION disabled destroy the iscsi_cmnd_abort_mempool if initialization fails (merge r4208 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-01-06 13:44:32 +00:00
parent fa8479a821
commit 6054c82490

View File

@@ -4160,8 +4160,8 @@ out_callb:
net_set_get_put_page_callbacks(NULL, NULL);
out_destroy_mempool:
mempool_destroy(iscsi_cmnd_abort_mempool);
#endif
mempool_destroy(iscsi_cmnd_abort_mempool);
out_free_dummy:
__free_pages(dummy_page, 0);