[ofa-general] Re: [stable] [PATCH -stable] IB/core: Ignore membership bit in ib_find_pkey()

Greg KH greg at kroah.com
Thu Aug 9 23:03:59 PDT 2007


On Wed, Aug 08, 2007 at 02:45:59PM +0300, Moni Shoua wrote:
> ib_find_pkey() is used as a replacement for ib_find_cached_pkey(), and
> the original function ignored the membership bit when searching for a
> P_Key, so ib_find_pkey() should ignore the bit too.
> 
> In particular, IPoIB turns on the P_Key membership bit of limited
> membership P_Keys when creating a child interface and looks for the
> full membership P_key.  This broke if a port was a partial member of a
> partition when IPoIB switched from ib_find_cached_pkey() to
> ib_find_pkey(), and this change fixes things again.
> 
> Signed-off-by: Moni Shoua <monis at voltaire.com>
> Signed-off-by: Roland Dreier <rolandd at cisco.com>

I don't see this in Linus's tree, is there some reason it has not been
accepted into mainline yet?

thanks,

greg k-h



More information about the general mailing list