Re: [PATCH 0/4] net: avoid variable length arrays

2023-09-12 Thread Jason Wang
On Tue, Sep 12, 2023 at 10:20 PM Peter Maydell wrote: > > Hi, Jason. This patchset has been reviewed -- do you want to > pick it up via the net tree? Yes, I've queued this. Thanks > > thanks > -- PMM > > On Thu, 24 Aug 2023 at 16:32, Peter Maydell wrote: > > > > This patchset removes the use o

Re: [PATCH 0/4] net: avoid variable length arrays

2023-09-12 Thread Peter Maydell
Hi, Jason. This patchset has been reviewed -- do you want to pick it up via the net tree? thanks -- PMM On Thu, 24 Aug 2023 at 16:32, Peter Maydell wrote: > > This patchset removes the use of variable length arrays in a couple > of network devices and the net/ core code. In one case we can swit

[PATCH 0/4] net: avoid variable length arrays

2023-08-24 Thread Peter Maydell
This patchset removes the use of variable length arrays in a couple of network devices and the net/ core code. In one case we can switch to a fixed-sized array on the stack; in the other three we have to use a heap allocation. The codebase has very few VLAs, and if we can get rid of them all we c