[PATCH] librdmacm: Work-around kernel bug returning uid = 0

2013-02-01 Thread sean . hefty
From: Sean Hefty Older kernels have a bug where it can report an event with the uid set to 0. The librdmacm crashes when casting the uid to an rdma_cm_id and dereferencing the NULL pointer. There are a limited number of events where this can occur and in most cases it's safe to simply discard t

Re: [PATCH] librdmacm: Work-around kernel bug returning uid = 0

2013-02-02 Thread Or Gerlitz
On 02/02/2013 09:16, sean.he...@intel.com wrote: Older kernels have a bug where it can report an event with the uid set to 0. The librdmacm crashes when casting the uid to an rdma_cm_id and dereferencing the NULL pointer. There are a limited number of events where this can occur and in most cas

Re: [PATCH] librdmacm: Work-around kernel bug returning uid = 0

2013-02-04 Thread Bernd Schubert
Thanks a lot Sean! Looks good to me, just a few minor nits below. On 02/02/2013 08:16 AM, sean.he...@intel.com wrote: From: Sean Hefty Older kernels have a bug where it can report an event with the uid set to 0. The librdmacm crashes when casting the uid to an rdma_cm_id and dereferencing the

Re: [PATCH] librdmacm: Work-around kernel bug returning uid = 0

2013-02-04 Thread Bernd Schubert
On 02/03/2013 08:24 AM, Or Gerlitz wrote: On 02/02/2013 09:16, sean.he...@intel.com wrote: Older kernels have a bug where it can report an event with the uid set to 0. The librdmacm crashes when casting the uid to an rdma_cm_id and dereferencing the NULL pointer. There are a limited number of

RE: [PATCH] librdmacm: Work-around kernel bug returning uid = 0

2013-02-04 Thread Hefty, Sean
I updated the patch based on your feedback and pushed the change into my git tree. I plan on creating a new release of the librdmacm this quarter that will contain this fix. - Sean -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vge

Re: [PATCH] librdmacm: Work-around kernel bug returning uid = 0

2013-02-04 Thread Or Gerlitz
On 04/02/2013 16:11, Bernd Schubert wrote: On 02/03/2013 08:24 AM, Or Gerlitz wrote: It would be also worthwhile to nail the fix to the root cause little further, e.g push kernel commit 418edaaba96 to -stable Agreed, I opened RHEL bugzilla #719749 (somehow marked as private, no idea why) an

RE: [PATCH] librdmacm: Work-around kernel bug returning uid = 0

2013-02-05 Thread Hefty, Sean
> the mainline kernel -stable process is something else... Sean I assume > you understood what I was up to. yes -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-in