netfilter: nft_reject_bridge: Fix powerpc build error
authorGuenter Roeck <linux@roeck-us.net>
Mon, 3 Nov 2014 02:19:15 +0000 (18:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Nov 2014 17:12:34 +0000 (12:12 -0500)
commitc1207c049b204b0a96535dc5416aee331b51e0e1
treeed5730666c148c90942fc2b92a7d08c8b1a50666
parentd52fdbb735c36a209f36a628d40ca9185b349ba7
netfilter: nft_reject_bridge: Fix powerpc build error

Fix:
net/bridge/netfilter/nft_reject_bridge.c:
In function 'nft_reject_br_send_v6_unreach':
net/bridge/netfilter/nft_reject_bridge.c:240:3:
error: implicit declaration of function 'csum_ipv6_magic'
   csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr,
   ^
make[3]: *** [net/bridge/netfilter/nft_reject_bridge.o] Error 1

Seen with powerpc:allmodconfig.

Fixes: 523b929d5446 ("netfilter: nft_reject_bridge: don't use IP stack to reject traffic")
Cc: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/netfilter/nft_reject_bridge.c