HomeFreeBSD

ibcore: Validate port number in query_pkey verb.

Description

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

Details

Provenance
hselaskyAuthored on Jun 16 2021, 1:01 PM
Parents
rG912e98cedee2: ibcore: Protect against concurrent access to hardware stats.
Branches
Unknown
Tags
Unknown