[Linux-stable-mirror] [PATCH 4.14 18/89] ALSA: seq: Make ioctls race-free