All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Mahoney <jeffm@suse.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>, netfilter-devel@vger.kernel.org
Subject: [PATCH] netfilter: nft_reject_bridge: fix missing declaration of csum_ipv6_magic
Date: Sun, 02 Nov 2014 22:11:08 -0500	[thread overview]
Message-ID: <5456F24C.7040604@suse.com> (raw)

Commit 523b929d544 (netfilter: nft_reject_bridge: don't use IP stack
to reject traffic) adds a use of csum_ipv6_magic but doesn't include
net/ip6_checksum.h. On architectures that don't define _HAVE_ARCH_IPV6_CSUM,
like ppc and s390x, we don't get the prototype declared and the build
fails.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 net/bridge/netfilter/nft_reject_bridge.c |    1 +
 1 file changed, 1 insertion(+)

--- a/net/bridge/netfilter/nft_reject_bridge.c
+++ b/net/bridge/netfilter/nft_reject_bridge.c
@@ -18,6 +18,7 @@
 #include <net/netfilter/ipv6/nf_reject.h>
 #include <linux/ip.h>
 #include <net/ip.h>
+#include <net/ip6_checksum.h>
 #include <linux/netfilter_bridge.h>
 #include "../br_private.h"
 

-- 
Jeff Mahoney
SUSE Labs

                 reply	other threads:[~2014-11-03  3:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5456F24C.7040604@suse.com \
    --to=jeffm@suse.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.