From: Ian Campbell <Ian.Campbell@citrix.com>
To: Andy Whitcroft <apw@canonical.com>
Cc: Wei Liu <wei.liu2@citrix.com>, <xen-devel@lists.xenproject.org>,
<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/1] xen-netback: include definition of csum_ipv6_magic
Date: Mon, 25 Nov 2013 16:54:18 +0000 [thread overview]
Message-ID: <1385398458.22002.99.camel@kazak.uk.xensource.com> (raw)
In-Reply-To: <1385398354-21636-1-git-send-email-apw@canonical.com>
On Mon, 2013-11-25 at 16:52 +0000, Andy Whitcroft wrote:
> We are now using csum_ipv6_magic, include the appropriate header.
> Avoids the following error:
>
> drivers/net/xen-netback/netback.c:1313:4: error: implicit declaration of function 'csum_ipv6_magic' [-Werror=implicit-function-declaration]
> tcph->check = ~csum_ipv6_magic(&ipv6h->saddr,
>
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Thanks!
> ---
> drivers/net/xen-netback/netback.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Found while trying to couple latest kernels for arm64 platforms.
> Looks like it got missed in the transition.
>
> -apw
>
> diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c
> index 919b650..64f0e0d 100644
> --- a/drivers/net/xen-netback/netback.c
> +++ b/drivers/net/xen-netback/netback.c
> @@ -39,6 +39,7 @@
> #include <linux/udp.h>
>
> #include <net/tcp.h>
> +#include <net/ip6_checksum.h>
>
> #include <xen/xen.h>
> #include <xen/events.h>
next prev parent reply other threads:[~2013-11-25 16:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 16:52 Andy Whitcroft
2013-11-25 16:54 ` Ian Campbell [this message]
2013-11-28 23:38 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1385398458.22002.99.camel@kazak.uk.xensource.com \
--to=ian.campbell@citrix.com \
--cc=apw@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®