Subject: linux-next: build failure after merge of the netfilter-next tree

From: Stephen Rothwell <[email-masked]>
Date: Wed, 13 Feb 2019 16:54:15 +1100

Hi all,

After merging the netfilter-next tree, today's linux-next build (powerpc
allyesconfig) failed like this:

ld: net/ipv4/netfilter/nf_reject_ipv4.o:(.opd+0x78): multiple definition of `nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.opd+0x78): first defined here
ld: net/ipv4/netfilter/nf_reject_ipv4.o: in function `.nf_reject_verify_csum':
(.text.nf_reject_verify_csum+0x0): multiple definition of `.nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.text.nf_reject_verify_csum+0x0): first defined here
ld: net/ipv4/netfilter/nft_reject_ipv4.o:(.opd+0x48): multiple definition of `nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.opd+0x78): first defined here
ld: net/ipv4/netfilter/nft_reject_ipv4.o: in function `.nf_reject_verify_csum':
(.text.nf_reject_verify_csum+0x0): multiple definition of `.nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.text.nf_reject_verify_csum+0x0): first defined here
ld: net/ipv4/netfilter/ipt_REJECT.o:(.opd+0x60): multiple definition of `nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.opd+0x78): first defined here
ld: net/ipv4/netfilter/ipt_REJECT.o: in function `.nf_reject_verify_csum':
(.text.nf_reject_verify_csum+0x0): multiple definition of `.nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.text.nf_reject_verify_csum+0x0): first defined here
ld: net/ipv6/netfilter/nf_reject_ipv6.o:(.opd+0x78): multiple definition of `nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.opd+0x78): first defined here
ld: net/ipv6/netfilter/nf_reject_ipv6.o: in function `.nf_reject_verify_csum':
(.text.nf_reject_verify_csum+0x0): multiple definition of `.nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.text.nf_reject_verify_csum+0x0): first defined here
ld: net/ipv6/netfilter/nft_reject_ipv6.o:(.opd+0x48): multiple definition of `nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.opd+0x78): first defined here
ld: net/ipv6/netfilter/nft_reject_ipv6.o: in function `.nf_reject_verify_csum':
(.text.nf_reject_verify_csum+0x0): multiple definition of `.nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.text.nf_reject_verify_csum+0x0): first defined here
ld: net/ipv6/netfilter/ip6t_REJECT.o:(.opd+0x60): multiple definition of `nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.opd+0x78): first defined here
ld: net/ipv6/netfilter/ip6t_REJECT.o: in function `.nf_reject_verify_csum':
(.text.nf_reject_verify_csum+0x0): multiple definition of `.nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.text.nf_reject_verify_csum+0x0): first defined here
ld: net/bridge/netfilter/nft_reject_bridge.o:(.opd+0x108): multiple definition of `nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.opd+0x78): first defined here
ld: net/bridge/netfilter/nft_reject_bridge.o: in function `.nf_reject_verify_csum':
(.text.nf_reject_verify_csum+0x0): multiple definition of `.nf_reject_verify_csum'; net/netfilter/nft_reject_inet.o:(.text.nf_reject_verify_csum+0x0): first defined here

Caused by commit

  bfcf40da7559 ("netfilter: reject: skip csum verification for protocols that don't support it")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell