]> git.ipfire.org Git - thirdparty/linux.git/commit
net: enetc: include ip6_checksum.h for csum_ipv6_magic
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 12 Oct 2021 12:13:58 +0000 (15:13 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Oct 2021 14:23:16 +0000 (07:23 -0700)
commitedce2a93dd781ac13bd7f651ee0b5edb8af6c0e4
treeb27aa19caf78008b6fb52d7c8b954c530de9666b
parentd1f24712a86abd04d82cf4b00fb4ab8ff2d23c8a
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>
drivers/net/ethernet/freescale/enetc/enetc.c