Write a program that opens an nmdm device, creates a thread that blocks on
a read of this device and then closes the device. While this program is
blocked on the read() the nmdm device is revoked.
Since this is a race the scenario above should be retried in a loop and
without the patch it will lead to the panic in tty_rel_free().