commit | 498b577660f08cef5d9e78e0ed6dcd4c0939e98c | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Mar 13 17:30:27 2020 +0000 |
committer | David Howells <dhowells@redhat.com> | Fri Mar 13 23:04:34 2020 +0000 |
tree | 0ca56d1744449d4ecd1e70d1d4914cdd942e0ed7 | |
parent | e138aa7d3271ac1b0690ae2c9b04d51468dce1d6 [diff] |
rxrpc: Fix sendmsg(MSG_WAITALL) handling Fix the handling of sendmsg() with MSG_WAITALL for userspace to round the timeout for when a signal occurs up to at least two jiffies as a 1 jiffy timeout may end up being effectively 0 if jiffies wraps at the wrong time. Fixes: bc5e3a546d55 ("rxrpc: Use MSG_WAITALL to tell sendmsg() to temporarily ignore signals") Signed-off-by: David Howells <dhowells@redhat.com>