diff options
| author | David Howells <dhowells@redhat.com> | 2020-03-13 17:30:27 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-13 10:45:04 +0200 |
| commit | e9de0d1bc101fcc49296c0ae8e62fc950907d788 (patch) | |
| tree | 9ccda5a9ad8ee89f1bce492eb327a011dc76ec26 /net/core | |
| parent | f40ff192cacdbb16bba75290764981613bb8a00d (diff) | |
rxrpc: Fix sendmsg(MSG_WAITALL) handling
commit 498b577660f08cef5d9e78e0ed6dcd4c0939e98c upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions
