Re: [Patch v5] net/netvsc: fix number Tx queues > Rx queues

2024-10-17 Thread Ferruh Yigit
On 10/17/2024 8:20 PM, lon...@linuxonhyperv.com wrote: > From: Alan Elder > > The previous code allowed the number of Tx queues to be set higher than > the number of Rx queues. If a packet was sent on a Tx queue with index >> = number Rx queues there was a segfault due to accessing beyond the en

Re: [Patch v5] net/netvsc: fix number Tx queues > Rx queues

2024-10-17 Thread Ferruh Yigit
On 10/18/2024 12:02 AM, Stephen Hemminger wrote: > On Thu, 17 Oct 2024 22:38:49 + > Long Li wrote: > >>> Subject: Re: [Patch v5] net/netvsc: fix number Tx queues > Rx queues >>> >>> On Thu, 17 Oct 2024 12:20:29 -0700 >>> lon...@l

Re: [Patch v5] net/netvsc: fix number Tx queues > Rx queues

2024-10-17 Thread Ferruh Yigit
Recheck-request: intel-Functional, intel-Testing

RE: [Patch v5] net/netvsc: fix number Tx queues > Rx queues

2024-10-17 Thread Long Li
> Subject: Re: [Patch v5] net/netvsc: fix number Tx queues > Rx queues > > On Thu, 17 Oct 2024 12:20:29 -0700 > lon...@linuxonhyperv.com wrote: > > > +static void > > +hn_rx_queue_free_common(struct hn_rx_queue *rxq) { > > + if (!rxq) > > +

[Patch v5] net/netvsc: fix number Tx queues > Rx queues

2024-10-17 Thread longli
From: Alan Elder The previous code allowed the number of Tx queues to be set higher than the number of Rx queues. If a packet was sent on a Tx queue with index >= number Rx queues there was a segfault due to accessing beyond the end of the dev->data->rx_queues[] array. This commit fixes the iss