HomeFreeBSD

qlnx: qlnxe: Fix kernel address leakage

Description

qlnx: qlnxe: Fix kernel address leakage

In function qlnx_rdma_deregister_if,
the address of object rdma_if will be printed out.
rdma_if is the address of a global variable qlnxr_drv,
which is passed from dev/qlnx/qlnxr/qlnxr_os.c
A kernel address leakage happens.
Fix this by removing the printf statement.

PR: 238646
MFC after: 1 week

Details

Provenance
Fuqian Huang <huangfq.daxian@gmail.com>Authored on May 28 2024, 5:45 AM
Kevin Bowling <kbowling@FreeBSD.org>Committed on May 28 2024, 5:45 AM
Parents
rGae389777583d: qlxge: replace device_printf with QL_DPRINT2
Branches
Unknown
Tags
Unknown