[Stgt-devel] [PATCH 2/2] plug valloc leaks

FUJITA Tomonori tomof
Sun Oct 28 06:46:19 CET 2007


On Sat, 27 Oct 2007 14:34:53 -0400
Pete Wyckoff <pw at osc.edu> wrote:

> A few inquiry and related handlers do not release their valloc-ed pages
> in error paths.  Fix these.
> 
> ibmvio inquiry:  only alloc when needed for __ibmvio_inquiry, not for
> spc_inquiry.
> 
> smc read element status:  inspect reserved byte first, free for
> unknown element type.
> 
> spc inquiry:  free in error path.
> 
> spc mode sense:  free in sense for a few failure cases.
> 
> Signed-off-by: Pete Wyckoff <pw at osc.edu>
> ---
>  usr/ibmvio/ibmvio.c |   10 +++++-----
>  usr/smc.c           |    7 ++++---
>  usr/spc.c           |    8 ++++++--
>  3 files changed, 15 insertions(+), 10 deletions(-)

Applied, thanks a lot!



More information about the stgt mailing list