On Fri, Jun 30, 2017 at 10:35 AM, Dan Jurgens <[email protected]> wrote: > From: Daniel Jurgens <[email protected]> > > Check the return value from get_pkey_and_subnet_prefix to prevent using > uninitialized variables. > > Fixes: d291f1a65232 ("IB/core: Enforce PKey security on QPs") > Signed-off-by: Daniel Jurgens <[email protected]> > Reported-by: Dan Carpenter <[email protected]> > --- > drivers/infiniband/core/security.c | 20 ++++++++++++-------- > 1 file changed, 12 insertions(+), 8 deletions(-)
Since the original patch went in via the SELinux tree, would the IB/RDMA folks prefer this to go in via the SELinux tree as well? -- paul moore www.paul-moore.com
