lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <adafxn0p71x.fsf@cisco.com>
Date:	Mon, 13 Oct 2008 13:35:22 -0700
From:	Roland Dreier <rdreier@...co.com>
To:	jeff@...zik.org
Cc:	scofeldm@...co.com, netdev@...r.kernel.org
Subject: [PATCH 1/2] enic: Fix build without _HAVE_ARCH_IPV6_CSUM

From: Scott Feldman <scofeldm@...co.com>

On architectures (such as powerpc) that don't define
_HAVE_ARCH_IPV6_CSUM, the enic compile fails with

    drivers/net/enic/enic_main.c: In function 'enic_queue_wq_skb_tso':
    drivers/net/enic/enic_main.c:575: error: implicit declaration of function 'csum_ipv6_magic'

Fix this by including <net/ip6_checksum.h>

Signed-off-by: Roland Dreier <rolandd@...co.com>
---
Jeff, this is part of a patch Scott sent a while ago
(https://kerneltrap.org/mailarchive/linux-netdev/2008/9/20/3350614/thread)
that seems to have gotten dropped.  Please apply.

 drivers/net/enic/enic_main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index f3a47a8..80119c9 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -35,6 +35,8 @@
 #include <linux/ipv6.h>
 #include <linux/tcp.h>
 
+#include <net/ip6_checksum.h>
+
 #include "cq_enet_desc.h"
 #include "vnic_dev.h"
 #include "vnic_intr.h"
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ