lkml.org 
[lkml]   [2012]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: [PATCH] IB: Fix potential mem leak in schedule_nes_timer()
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@chaosbits.net> http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.



\
 
 \ /
  Last update: 2012-02-26 22:47    [W:1.220 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site