Message ID | 5456F24C.7040604@suse.com |
---|---|
State | Awaiting Upstream |
Delegated to: | Pablo Neira |
Headers | show |
--- 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"
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(+)