On Tue, 2017-11-07 at 18:33 +0200, Leon Romanovsky wrote: > From: Daniel Jurgens <danielj@xxxxxxxxxxxx> > > When modify QP is called on a shared QP update the security context for > the real QP. When security is subsequently enforced the shared QP > handles will be checked as well. > > Without this change shared QP handles get added to the port/pkey lists, > which is a bug, because not all shared QP handles will be checked for > access. Also the shared QP security context wouldn't get removed from > the port/pkey lists causing access to free memory and list corruption > when they are destroyed. > > Cc: stable@xxxxxxxxxxxxxxx > Fixes: d291f1a65232 ("IB/core: Enforce PKey security on QPs") > Signed-off-by: Daniel Jurgens <danielj@xxxxxxxxxxxx> > Reviewed-by: Parav Pandit <parav@xxxxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leon@xxxxxxxxxx> Thanks, applied. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part