]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r296909:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Apr 2016 07:31:17 +0000 (07:31 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 7 Apr 2016 07:31:17 +0000 (07:31 +0000)
commitbef8a974b4da4f129923a272d06bbb620a3cb2fc
treef7f386f639bf856244de2495b6f684cfe4508a7c
parent193d8387474450c6c022c077d0b4d2f14e126317
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/9@297649 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c