]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r296909:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Apr 2016 07:29:57 +0000 (07:29 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Apr 2016 07:29:57 +0000 (07:29 +0000)
commit15e17268b9485419fa156c4ced416b8c32adb46b
tree5681cab240cadf1546744b3dc33102ad75919de2
parent34eebacc76ba9bcfa8df8195f07e2dd252ace093
MFC r296909:
Fix witness panic in the ipoib_ioctl() function when unloading the
ipoib module.

The bpfdetach() function is trying to turn off promiscious mode on the
network interface it is attached to while holding a mutex. The fix
consists of ignoring any further calls to the ipoib_ioctl() function
when the network interface is going to be detached. The ipoib_ioctl()
function might sleep.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@297648 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c