Re: [ofa-general] drivers/infiniband/ulp/ipoib/ipoib_main.c: use-after-free

2007-03-22 Thread Roland Dreier
> Something like this then? Untested. Looks right to me, and seems to work. So I'll apply this. - R. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [ofa-general] drivers/infiniband/ulp/ipoib/ipoib_main.c: use-after-free

2007-03-19 Thread Michael S. Tsirkin
> Quoting Adrian Bunk <[EMAIL PROTECTED]>: > Subject: [ofa-general] drivers/infiniband/ulp/ipoib/ipoib_main.c: > use-after-free > > The Coverity checker spotted the following code introduced by > commit 839fcaba355abaffb7b44f0f4504093acb0b11cf: > > <--

drivers/infiniband/ulp/ipoib/ipoib_main.c: use-after-free

2007-03-19 Thread Adrian Bunk
The Coverity checker spotted the following code introduced by commit 839fcaba355abaffb7b44f0f4504093acb0b11cf: <-- snip --> ... static void path_rec_completion(int status, struct ib_sa_path_rec *pathrec, void *path_ptr) { ...