lkml.org 
[lkml]   [2021]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CFI violation in drivers/infiniband/core/sysfs.c
On Tue, May 04, 2021 at 05:22:22PM -0300, Jason Gunthorpe wrote:
> On Fri, Apr 02, 2021 at 11:55:59PM -0700, Nathan Chancellor wrote:
> > > So, I think, the solution is below. This hasn't been runtime tested. It
> > > basically removes the ib_port callback prototype and leaves everything
> > > as kobject/attr. The callbacks then do their own container_of() calls.
> >
> > Well that appear to be okay from a runtime perspective.
>
> This giant thing should fix it, and some of the other stuff Greg observed:
>
> https://github.com/jgunthorpe/linux/commits/rmda_sysfs_cleanup
>
> It needs some testing before it gets posted

When you post it, can you cc: me?

thanks,

greg k-h

\
 
 \ /
  Last update: 2021-05-05 18:26    [W:0.476 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site