RE: [PATCH] IB: Fix potential mem leak in schedule_nes_timer()

From: Jesper Juhl
Date: Sun Feb 26 2012 - 16:45:19 EST


On Fri, 24 Feb 2012, Latif, Faisal wrote:

> I do not approve this patch.
>
> The type field is always set to either NES_TIMER_TYPE_SEND or
> NES_TIMER_TYPE_CLOSE when schedule_nes_timer() is called. Even if we
> wanted to make sure the value of type is one or the other, proper patch
> can be just a if stmt to check the type before new_send allocation.
>
Makes sense. I'll drop the patch for now.

--
Jesper Juhl <jj@xxxxxxxxxxxxx> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/