summaryrefslogtreecommitdiffstats
path: root/lib/test_sort.c
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2017-07-06 11:01:06 -0700
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>2017-08-31 09:45:55 -0400
commit331a63e6f8e42bf20dfa5b94d717a5ef130fcbee (patch)
tree21222f25093ffa5d39c0e07b380951e2fd5cd0d9 /lib/test_sort.c
parent5db4d286a8ef88a04247a005df9cdd4bce3c7673 (diff)
downloadlinux-331a63e6f8e42bf20dfa5b94d717a5ef130fcbee.tar.bz2
xen/pvcalls: implement bind command
Allocate a socket. Track the allocated passive sockets with a new data structure named sockpass_mapping. It contains an unbound workqueue to schedule delayed work for the accept and poll commands. It also has a reqcopy field to be used to store a copy of a request for delayed work. Reads/writes to it are protected by a lock (the "copy_lock" spinlock). Initialize the workqueue in pvcalls_back_bind. Implement the bind command with inet_bind. The pass_sk_data_ready event handler will be added later. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Reviewed-by: Juergen Gross <jgross@suse.com> CC: boris.ostrovsky@oracle.com CC: jgross@suse.com Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'lib/test_sort.c')
0 files changed, 0 insertions, 0 deletions