commit | 64d6871827b1e2ac8c9daf49f2c883378c7d50cd | [log] [tgz] |
---|---|---|
author | Stefano Stabellini <sstabellini@kernel.org> | Wed Feb 14 10:28:23 2018 -0800 |
committer | Juergen Gross <jgross@suse.com> | Sat Feb 17 09:40:58 2018 +0100 |
tree | 344bc0cf903eb3b9d73d09cdaadc1018e2db9a2c | |
parent | 63e708f826bb21470155d37b103a75d8a9e25b18 [diff] |
pvcalls-front: introduce a per sock_mapping refcount Introduce a per sock_mapping refcount, in addition to the existing global refcount. Thanks to the sock_mapping refcount, we can safely wait for it to be 1 in pvcalls_front_release before freeing an active socket, instead of waiting for the global refcount to be 1. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Acked-by: Juergen Gross <jgross@suse.com> Signed-off-by: Juergen Gross <jgross@suse.com>