Re: [PATCH] IB: cxgb3: delay freeing mem untill entirely done with it

2013-01-29 Thread Jiri Kosina
On Mon, 14 Jan 2013, Steve Wise wrote: > Reviewed-by: Steve Wise Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] IB: cxgb3: delay freeing mem untill entirely done with it

2013-01-29 Thread Jiri Kosina
On Mon, 14 Jan 2013, Steve Wise wrote: Reviewed-by: Steve Wise sw...@opengridcomputing.com Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] IB: cxgb3: delay freeing mem untill entirely done with it

2013-01-14 Thread Steve Wise
Reviewed-by: Steve Wise -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] IB: cxgb3: delay freeing mem untill entirely done with it

2013-01-14 Thread Jesper Juhl
Sure, it's just the pointer value we use, but the coverity checker complains about a use-after-free bug and it really does seem cleaner to delay freeing until we are entirely done with the memory. So, rearrange the code to move the kfree() later untill we are completely done. Trivial and harmless,

[PATCH] IB: cxgb3: delay freeing mem untill entirely done with it

2013-01-14 Thread Jesper Juhl
Sure, it's just the pointer value we use, but the coverity checker complains about a use-after-free bug and it really does seem cleaner to delay freeing until we are entirely done with the memory. So, rearrange the code to move the kfree() later untill we are completely done. Trivial and harmless,

Re: [PATCH] IB: cxgb3: delay freeing mem untill entirely done with it

2013-01-14 Thread Steve Wise
Reviewed-by: Steve Wise sw...@opengridcomputing.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/