On Mon, Jun 25, 2018 at 04:03:41PM -0600, Jason Gunthorpe wrote: > port_num is untrusted data from the user, so it should be checked after > calling fill_sgid_attr, which validates it. > > Fixes: 8d9ec9addd6c ("IB/core: Add a sgid_attr pointer to struct rdma_ah_attr") > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > --- > drivers/infiniband/core/verbs.c | 19 +++++++++++-------- > 1 file changed, 11 insertions(+), 8 deletions(-) Applied to for-next Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html