Skip to content

Commit

Permalink
pvcalls-front: introduce a per sock_mapping refcount
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefano Stabellini authored and Juergen Gross committed Feb 17, 2018
1 parent 63e708f commit 64d6871
Showing 1 changed file with 79 additions and 112 deletions.
Loading

0 comments on commit 64d6871

Please sign in to comment.