]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r356633:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 3 Feb 2020 10:47:44 +0000 (10:47 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 3 Feb 2020 10:47:44 +0000 (10:47 +0000)
commit5bac144254e49cd28d971ad5ecd809fcc5d0004f
tree45929cfea7cd91514758f9b80e458500920bdb8b
parenta987f65151f0332f49f7daa63760cda28306b08a
MFC r356633:
Make sure the VNET is properly set when reaping mbufs in ipoib.
Else the following panic may happen:

panic()
icmp_error()
ipoib_cm_mb_reap()
linux_work_fn()
taskqueue_run_locked()
taskqueue_thread_loop()
fork_exit()
fork_trampoline()

Submitted by: Andreas Kempe <kempe@lysator.liu.se>
Sponsored by: Mellanox Technologies

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