aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorStefano Stabellini <[email protected]>2018-02-14 18:28:23 +0000
committerJuergen Gross <[email protected]>2018-02-17 08:40:58 +0000
commit64d6871827b1e2ac8c9daf49f2c883378c7d50cd (patch)
tree344bc0cf903eb3b9d73d09cdaadc1018e2db9a2c /drivers/net/xen-netfront.c
parentx86/xen: Calculate __max_logical_packages on PV domains (diff)
downloadkernel-64d6871827b1e2ac8c9daf49f2c883378c7d50cd.tar.gz
kernel-64d6871827b1e2ac8c9daf49f2c883378c7d50cd.zip
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 <[email protected]> Acked-by: Juergen Gross <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions