diff options
author | David Howells <dhowells@redhat.com> | 2019-10-07 16:30:51 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2019-11-15 16:22:54 +0000 |
commit | 8df441294dd34fb0b16b45f550f55e96db6af4dc (patch) | |
tree | 7dc49acddd4b6585d146bbab6c24062237bf5407 /kernel/uid16.h | |
parent | 7e25a73f1a52b58fc8206557e40d990cd791ad25 (diff) | |
download | linux-8df441294dd34fb0b16b45f550f55e96db6af4dc.tar.bz2 |
pipe: Check for ring full inside of the spinlock in pipe_write()
Make pipe_write() check to see if the ring has become full between it
taking the pipe mutex, checking the ring status and then taking the
spinlock.
This can happen if a notification is written into the pipe as that happens
without the pipe mutex.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'kernel/uid16.h')
0 files changed, 0 insertions, 0 deletions