diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-08-27 10:19:35 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-08-27 10:19:35 -0700 |
| commit | 39f90c1967215375f7d87b81d14b0f3ed6b40c29 (patch) | |
| tree | 6f82b5978f946f2117d2e7dff4a0a25cc0633e1d /include/linux | |
| parent | 518b21ba139cefa2ee7f9fcf516fdc6743e8db68 (diff) | |
| parent | 45d8ef6322b8a828d3b1e2cfb8893e2ff882cb23 (diff) | |
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio/vhost fixes from Michael Tsirkin:
"More small fixes. Most notably this fixes a messed up ioctl number,
and a regression in shmem affecting drm users"
* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
virtio_net: adjust the execution order of function `virtnet_close` during freeze
virtio_input: Improve freeze handling
vhost: Fix ioctl # for VHOST_[GS]ET_FORK_FROM_OWNER
Revert "virtio: reject shm region if length is zero"
vhost/net: Protect ubufs with rcu read lock in vhost_net_ubuf_put()
virtio_pci: Fix misleading comment for queue vector
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/virtio_config.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h index 918cf25cd3c6..8bf156dde554 100644 --- a/include/linux/virtio_config.h +++ b/include/linux/virtio_config.h @@ -328,8 +328,6 @@ static inline bool virtio_get_shm_region(struct virtio_device *vdev, struct virtio_shm_region *region, u8 id) { - if (!region->len) - return false; if (!vdev->config->get_shm_region) return false; return vdev->config->get_shm_region(vdev, region, id); |
