Skip to content

vsock/virtio: fix issues on device hot-unplug

Stefano Garzarella virtualization 4 versions – New

Get series with b4
b4 am '20190201114207.97217-1-sgarzare__30251.0683586419$1555717091$gmane$org@redhat.com'

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 2 patches 0 repliesNew
  2. v3 posting 1/22 patches 2 repliesSuperseded
  3. v2 RFC2 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC2 patches9 repliesSuperseded

Changes in v3 from the cover letter

- Rebased on master

Patches in v3 posting 2/2 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] 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

Stefano Garzarella (2):
vsock/virtio: fix kernel panic after device hot-unplug vsock/virtio: reset connected sockets on device removal

 net/vmw_vsock/virtio_transport.c | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)
Signature · 1 line
2.20.1