test_mods/nullnet: Avoid kthread_should_stop for user threads
async_message_send_start() had a check for kthread_should_stop() while spinning. This check is meaningless and possibly result in null pointer exception if invoked on user threads. Replace it with a version that does not do this check for user threads.
Showing with 11 additions and 11 deletions