mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
RDMA/core: Validate port number in query_pkey verb
Before calling the driver's function let's make sure port is valid. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
fe15bcc6e2
commit
9af3f5cf9d
1 changed files with 3 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue