Displaying 5 results from an estimated 5 matches for "vring_virtqueue_packed".
2023 May 26
1
[PATCH] virtio_ring: validate used buffer length
...lit {
struct vring_desc_state_split *desc_state;
struct vring_desc_extra *desc_extra;
+ /* Maximum in buffer length, NULL means no used validation */
+ u32 *buflen;
+
/* DMA address and size information */
dma_addr_t queue_dma_addr;
size_t queue_size_in_bytes;
@@ -145,6 +151,9 @@ struct vring_virtqueue_packed {
struct vring_desc_state_packed *desc_state;
struct vring_desc_extra *desc_extra;
+ /* Maximum in buffer length, NULL means no used validation */
+ u32 *buflen;
+
/* DMA address and size information */
dma_addr_t ring_dma_addr;
dma_addr_t driver_event_dma_addr;
@@ -552,6 +561,7 @@ stat...
2023 May 31
1
[PATCH] virtio_ring: validate used buffer length
...gt; > > > +
> > > > > > > /* DMA address and size information */
> > > > > > > dma_addr_t queue_dma_addr;
> > > > > > > size_t queue_size_in_bytes;
> > > > > > > @@ -145,6 +151,9 @@ struct vring_virtqueue_packed {
> > > > > > > struct vring_desc_state_packed *desc_state;
> > > > > > > struct vring_desc_extra *desc_extra;
> > > > > > >
> > > > > > > + /* Maximum in buffer length, NULL means no used validation...
2023 May 31
1
[PATCH] virtio_ring: validate used buffer length
...> > > > > > > > /* DMA address and size information */
> > > > > > > > dma_addr_t queue_dma_addr;
> > > > > > > > size_t queue_size_in_bytes;
> > > > > > > > @@ -145,6 +151,9 @@ struct vring_virtqueue_packed {
> > > > > > > > struct vring_desc_state_packed *desc_state;
> > > > > > > > struct vring_desc_extra *desc_extra;
> > > > > > > >
> > > > > > > > + /* Maximum in buffer length, NULL mean...
2023 Jun 01
1
[PATCH] virtio_ring: validate used buffer length
...> > > > > > > > /* DMA address and size information */
> > > > > > > > dma_addr_t queue_dma_addr;
> > > > > > > > size_t queue_size_in_bytes;
> > > > > > > > @@ -145,6 +151,9 @@ struct vring_virtqueue_packed {
> > > > > > > > struct vring_desc_state_packed *desc_state;
> > > > > > > > struct vring_desc_extra *desc_extra;
> > > > > > > >
> > > > > > > > + /* Maximum in buffer length, NULL mean...
2023 Jun 01
1
[PATCH] virtio_ring: validate used buffer length
...> > > > > /* DMA address and size information */
> > > > > > > > > dma_addr_t queue_dma_addr;
> > > > > > > > > size_t queue_size_in_bytes;
> > > > > > > > > @@ -145,6 +151,9 @@ struct vring_virtqueue_packed {
> > > > > > > > > struct vring_desc_state_packed *desc_state;
> > > > > > > > > struct vring_desc_extra *desc_extra;
> > > > > > > > >
> > > > > > > > > + /* Maximum in buff...