]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid NULL dereference in a couple of sysctl handlers in ibcore.
authornp <np@FreeBSD.org>
Thu, 23 Feb 2017 07:48:58 +0000 (07:48 +0000)
committernp <np@FreeBSD.org>
Thu, 23 Feb 2017 07:48:58 +0000 (07:48 +0000)
commit4d1144ae434693a021f92a9e9e222e9752b764fa
treecb05f0da8c7304c3a3e8a368b82221c620f5c55b
parentae9b952c708b3baad526b6da4f6608431e97755f
Avoid NULL dereference in a couple of sysctl handlers in ibcore.
iw_cxgbe sets ib_device->dma_device to NULL (since r311880).

Reviewed by: hselasky@
Sponsored by: Chelsio Communications
sys/ofed/drivers/infiniband/core/uverbs_main.c