Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682114

Re: [PATCH v7 08/18] xen/pvcalls: implement connect command

From Juergen Gross <jgross@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 08/18] xen/pvcalls: implement connect command
Date 2017-07-06 09:30 +0200
Message-ID <u09oB-1hk-3@gated-at.bofh.it> (permalink)
References <u00v0-3uT-9@gated-at.bofh.it> <u00v0-3uT-11@gated-at.bofh.it> <u00v0-3uT-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/07/17 23:50, Stefano Stabellini wrote:
> Allocate a socket. Keep track of socket <-> ring mappings with a new data
> structure, called sock_mapping. Implement the connect command by calling
> inet_stream_connect, and mapping the new indexes page and data ring.
> Allocate a workqueue and a work_struct, called ioworker, to perform
> reads and writes to the socket.
> 
> When an active socket is closed (sk_state_change), set in_error to
> -ENOTCONN and notify the other end, as specified by the protocol.
> 
> sk_data_ready and pvcalls_back_ioworker will be implemented later.
> 
> Signed-off-by: Stefano Stabellini <stefano@aporeto.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Thanks,

Juergen

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v7 08/18] xen/pvcalls: implement connect command Stefano Stabellini <sstabellini@kernel.org> - 2017-07-06 00:00 +0200
  Re: [PATCH v7 08/18] xen/pvcalls: implement connect command Juergen Gross <jgross@suse.com> - 2017-07-06 09:30 +0200

csiph-web