aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2017-07-06 11:01:06 -0700
committerBoris Ostrovsky <[email protected]>2017-08-31 09:45:55 -0400
commit331a63e6f8e42bf20dfa5b94d717a5ef130fcbee (patch)
tree21222f25093ffa5d39c0e07b380951e2fd5cd0d9 /lib/memory-notifier-error-inject.c
parent5db4d286a8ef88a04247a005df9cdd4bce3c7673 (diff)
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 <[email protected]> Reviewed-by: Juergen Gross <[email protected]> CC: [email protected] CC: [email protected] Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions