]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IB/mad: Fix address handle leak in mad_rmpp
authorSean Hefty <sean.hefty@intel.com>
Tue, 31 Jul 2007 22:10:54 +0000 (15:10 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 3 Aug 2007 17:45:17 +0000 (10:45 -0700)
commit38d5af9565f3fa1bf258f3eaeb47c4a95fd7a2b2
treed0a855f33a96fa9d28f4327d775f6e4c8bab8aad
parent8fc394b1971241999ef9b022feabf6a164791e3f
IB/mad: Fix address handle leak in mad_rmpp

The address handle associated with dual-sided RMPP direction switch
ACKs is never destroyed.  Free the AH for ACKs which fall into this
category.

Problem was reported by Dotan Barak <dotanb@dev.mellanox.co.il>.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad_rmpp.c