Revision 76f6777c9cc04efe8036b1d2aa76e618c1631cc6 authored by David Howells on 06 December 2019, 21:34:51 UTC, committed by Linus Torvalds on 06 December 2019, 21:57:04 UTC
Fix the iteration end check in fuse_dev_splice_write().  The iterator
position can only be compared with == or != since wrappage may be involved.

Fixes: 8cefc107ca54 ("pipe: Use head and tail pointers for the ring, not cursor and length")
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 43a2898
History

back to top