Skip to content

Add support for async socket operations

Tadeusz Struk linux-crypto linux-fsdevel netdev 3 versions – In review

Get series with b4
b4 am 20150319193118.11500.10463.stgit@tstruk-mobl1

Versions newest first · linked by author and title

  1. v3 Latest3 patches 5 repliesIn review
  2. v24 patches 6 repliesSuperseded
  3. v1 RFC4 patches 2 repliesSuperseded

Changes in v3 from the cover letter

* As sugested by Al Viro instead of adding new functions aio_sendmsg and aio_recvmsg, added a ptr to iocb into the kernel-side msghdr structure. This way no change to aio.c is required.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: socket: add support for async operationsinclude/linux/socket.h net/compat.c net/socket.c+9 -20 replies
2/3crypto: af_alg - Allow to link sglcrypto/af_alg.c include/crypto/if_alg.h+16 -60 replies
3/3crypto: algif - change algif_skcipher to be asynchronouscrypto/algif_skcipher.c+226 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 net-next 0/3] Add support for async socket operations

After the iocb parameter has been removed from sendmsg() and recvmsg() ops the socket layer, and the network stack no longer support async operations. This patch set adds support for asynchronous operations on sockets back.

Changes in v3:
* As sugested by Al Viro instead of adding new functions aio_sendmsg and aio_recvmsg, added a ptr to iocb into the kernel-side msghdr structure. This way no change to aio.c is required.

Changes in v2:
* removed redundant total_size param from aio_sendmsg and aio_recvmsg functions

--
Tadeusz Struk (3):
net: socket: add support for async operations
crypto: af_alg - Allow to link sgl
crypto: algif - change algif_skcipher to be asynchronous

 crypto/af_alg.c         |   18 +++-
 crypto/algif_skcipher.c |  233 ++++++++++++++++++++++++++++++++++++++++++++++-
 include/crypto/if_alg.h |    4 +
 include/linux/socket.h  |    1 
 net/compat.c            |    2 
 net/socket.c            |    8 +-
 6 files changed, 251 insertions(+), 15 deletions(-)