freebsd-dev/sys/ofed
Hans Petter Selasky 31525faed8 ibcore: Validate port number in query_pkey verb.
Before calling the driver's function let's make sure port is valid.

Linux commit:
9af3f5cf9d64a056eca53bc643f6288ad28bbbb5

MFC after:	1 week
Reviewed by:	kib
Sponsored by:	Mellanox Technologies // NVIDIA Networking
2021-07-12 14:22:31 +02:00
..
drivers/infiniband ibcore: Validate port number in query_pkey verb. 2021-07-12 14:22:31 +02:00
include ibcore: Protect against concurrent access to hardware stats. 2021-07-12 14:22:31 +02:00