]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'vsock-virtio-hot-unplug'
authorDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2019 19:06:25 +0000 (11:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2019 19:06:25 +0000 (11:06 -0800)
commit64b29871ce4b3b11acb58ad42c97e73f9cd8c206
treee06307c9f6e757d2263f5a4584054a8f7b338fda
parentf15a64389f8b933c55deaa7322f58627ae2d38fe
parentb91b6baec5f0b70af7b98b15550aace929e2c5f0
Merge branch 'vsock-virtio-hot-unplug'

Stefano Garzarella says:

====================
vsock/virtio: fix issues on device hot-unplug

These patches try to handle the hot-unplug of vsock virtio transport device in
a proper way.

Maybe move the vsock_core_init()/vsock_core_exit() functions in the module_init
and module_exit of vsock_virtio_transport module can't be the best way, but the
architecture of vsock_core forces us to this approach for now.

The vsock_core proto_ops expect a valid pointer to the transport device, so we
can't call vsock_core_exit() until there are open sockets.

v2 -> v3:
 - Rebased on master

v1 -> v2:
 - Fixed commit message of patch 1.
 - Added Reviewed-by, Acked-by tags by Stefan
====================

Signed-off-by: David S. Miller <davem@davemloft.net>