diff options
author | Ioana Ciornei | 2021-10-12 15:13:58 +0300 |
---|---|---|
committer | Jakub Kicinski | 2021-10-13 07:23:16 -0700 |
commit | edce2a93dd781ac13bd7f651ee0b5edb8af6c0e4 (patch) | |
tree | b27aa19caf78008b6fb52d7c8b954c530de9666b | |
parent | d1f24712a86abd04d82cf4b00fb4ab8ff2d23c8a (diff) |
net: enetc: include ip6_checksum.h for csum_ipv6_magic
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@intel.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20211012121358.16641-1-ioana.ciornei@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/ethernet/freescale/enetc/enetc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |