commit | de2ea4b64b75a79ed9cdf9bf30e0e197901084e4 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Oct 17 14:41:29 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 29 12:43:06 2019 -0600 |
tree | 141d91c7790a38ad446129c46db262855f3510d7 | |
parent | fcb323cc53e29d9cc696d606bb42736b32dd9825 [diff] |
net: add __sys_accept4_file() helper This is identical to __sys_accept4(), except it takes a struct file instead of an fd, and it also allows passing in extra file->f_flags flags. The latter is done to support masking in O_NONBLOCK without manipulating the original file flags. No functional changes in this patch. Cc: netdev@vger.kernel.org Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jens Axboe <axboe@kernel.dk>