[PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic

Subsystems: freescale enetc ethernet drivers, networking drivers, the rest

STALE1768d LANDED

Landed in mainline as edce2a93dd78 on 2021-10-13.

3 messages, 3 authors, 2021-10-13 · open the first message on its own page

[PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic

From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: 2021-10-12 12:14:25

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 <redacted>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.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

Re: [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic

From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2021-10-13 08:26:36

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 <redacted>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
quoted hunk
 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

Re: [PATCH net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-10-13 14:30:09

Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski [off-list ref]:

On Tue, 12 Oct 2021 15:13:58 +0300 you 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 <redacted>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>

[...]
Here is the summary with links:
  - [net-next] net: enetc: include ip6_checksum.h for csum_ipv6_magic
    https://git.kernel.org/netdev/net-next/c/edce2a93dd78

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help