[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211013082630.5evpkrmidqiap65y@skbuf>
Date: Wed, 13 Oct 2021 08:26:31 +0000
From: Vladimir Oltean <vladimir.oltean@....com>
To: Ioana Ciornei <ioana.ciornei@....com>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
Claudiu Manoil <claudiu.manoil@....com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: enetc: include ip6_checksum.h for
csum_ipv6_magic
On Tue, Oct 12, 2021 at 03:13:58PM +0300, Ioana Ciornei wrote:
> For those architectures which do not define_HAVE_ARCH_IPV6_CSUM, we need
> to include ip6_checksum.h which provides the csum_ipv6_magic() function.
>
> Fixes: fb8629e2cbfc ("net: enetc: add support for software TSO")
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Ioana Ciornei <ioana.ciornei@....com>
> ---
Reviewed-by: Vladimir Oltean <vladimir.oltean@....com>
> drivers/net/ethernet/freescale/enetc/enetc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/freescale/enetc/enetc.c b/drivers/net/ethernet/freescale/enetc/enetc.c
> index 09193b478ab3..3ae4f49a9055 100644
> --- a/drivers/net/ethernet/freescale/enetc/enetc.c
> +++ b/drivers/net/ethernet/freescale/enetc/enetc.c
> @@ -7,6 +7,7 @@
> #include <linux/udp.h>
> #include <linux/vmalloc.h>
> #include <linux/ptp_classify.h>
> +#include <net/ip6_checksum.h>
> #include <net/pkt_sched.h>
> #include <net/tso.h>
>
> --
> 2.17.1
>
Powered by blists - more mailing lists