]> git.baikalelectronics.ru Git - kernel.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)
commit029e848c59131695132594641698b55be90958f6
treeb27aa19caf78008b6fb52d7c8b954c530de9666b
parent8bb02f3abf51edf3528ef3bff4d0accd71caea05
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: 885859dd09aa ("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