[PATCH v3] kni: fix build with Linux 5.18
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Sun Jun 5 10:20:27 CEST 2022
On 6/5/22 10:54, Andrew Rybchenko wrote:
> From: Jiri Slaby <jslaby at suse.cz>
>
> Since commit 2655926aea9b (net: Remove netif_rx_any_context() and
> netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx()
> can be called from any context. So define HAVE_NETIF_RX_NI for older
> releases and call the appropriate function in kni_net.
>
> Cc: stable at dpdk.org
>
> Signed-off-by: Jiri Slaby <jslaby at suse.cz>
> Signed-off-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
Self NACK. I've found correct patch in patchwork finally.
More information about the dev
mailing list