[PATCH] kni: fix build on RHEL 9.1

David Marchand david.marchand at redhat.com
Mon Jan 9 18:43:13 CET 2023


On Mon, Jan 9, 2023 at 10:07 AM David Marchand
<david.marchand at redhat.com> wrote:
>
> Hi Ferruh,
>
> On Fri, Jan 6, 2023 at 9:13 PM Ferruh Yigit <ferruh.yigit at amd.com> wrote:
> >
> > Linux kernel in the RHEL9.1 seems backported Linux commit [1] that drops
> > netif_rx_ni().
> >
> > This was fixed in DPDK [2] for vanilla Linux kernel.
> >
> > Adding RHEL9.1 check for the netif_rx_ni() usage to fix build error.
> >
> > [1]
> > 2655926aea9b ("net: Remove netif_rx_any_context() and netif_rx_ni().")
> >
> > [2]
> > Commit c98600d4bed6 ("kni: fix build with Linux 5.18")
> >
> > Bugzilla ID: 1076
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Ferruh Yigit <ferruh.yigit at amd.com>
>
> LGTM.
> Tested compilation with 9.0 and 9.1 kernel devel packages.
> Reviewed-by: David Marchand <david.marchand at redhat.com>

Applied, thanks Ferruh.


-- 
David Marchand



More information about the stable mailing list