]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r352206:
authorHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 18 Sep 2019 07:26:43 +0000 (07:26 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Wed, 18 Sep 2019 07:26:43 +0000 (07:26 +0000)
commit4d680e6c3961ca3a66c05e35bbad7d2427b72258
treef14fb7b4dac798fd26a54d4704907d66bc85ffee
parentfe28a2545765be30730356177fdfdf081e4c0236
MFC r352206:
Fix synchronous work drain issue in the LinuxKPI.

A work callback may restart itself. Loop in the drain function to see if the
work has been rescheduled and stop the subsequent reschedules, if any.

Sponsored by: Mellanox Technologies
sys/compat/linuxkpi/common/src/linux_work.c