On Thu, Jun 26, 2025 at 11:38 PM Bui Quang Minh <minhquangbu...@gmail.com> wrote: > > On 6/26/25 09:38, Jason Wang wrote: > > On Thu, Jun 26, 2025 at 12:10 AM Bui Quang Minh > > <minhquangbu...@gmail.com> wrote: > >> Currently, we have repeated code to check the received mergeable buffer's > >> length with allocated size. This commit creates a helper to do that and > >> converts current code to use it. > >> > >> Signed-off-by: Bui Quang Minh <minhquangbu...@gmail.com> > > I think it would be better to introduce this as patch 1, so a > > mergeable XDP path can use that directly. > > > > This will have a smaller changeset. > > I'm just concerned that it might make backporting the fix harder because > the fix depends on this refactor and this refactor touches some function > that may create conflict.
We can make it a single patch that contains: 1) new helper 2) fixes as long as the changeset meets the requirement of -stable. Thanks > > Thanks, > Quang Minh. >