summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJakub Pawlak <jakub.pawlak@intel.com>2016-09-25 07:42:23 -0700
committerDoug Ledford <dledford@redhat.com>2016-10-02 08:42:17 -0400
commit3a6982dfd3a7931d679a1aac651fda83ecbad0a0 (patch)
tree7efda22ab8e5ead4f40cefee67f2b0d58dfb92a0 /kernel
parent242833fbe4e82b095140c00ff59519991a6c99fd (diff)
downloadop-kernel-dev-3a6982dfd3a7931d679a1aac651fda83ecbad0a0.zip
op-kernel-dev-3a6982dfd3a7931d679a1aac651fda83ecbad0a0.tar.gz
IB/hfi1: Fix resource release in context allocation
Correct resource free in allocate_ctxt() function. When context creation fails allocated resources are properly released and pointer in receive context data table is set back to NULL. Reviewed-by: Dean Luick <dean.luick@intel.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jakub Pawlak <jakub.pawlak@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud