Revision 2d8f6481c17db9fa5238b277cdbc392084060b09 authored by Georg Kohmann on 19 November 2020, 09:58:33 UTC, committed by Jakub Kicinski on 19 November 2020, 18:49:50 UTC
IPV6=m
NF_DEFRAG_IPV6=y

ld: net/ipv6/netfilter/nf_conntrack_reasm.o: in function
`nf_ct_frag6_gather':
net/ipv6/netfilter/nf_conntrack_reasm.c:462: undefined reference to
`ipv6_frag_thdr_truncated'

Netfilter is depending on ipv6 symbol ipv6_frag_thdr_truncated. This
dependency is forcing IPV6=y.

Remove this dependency by moving ipv6_frag_thdr_truncated out of ipv6. This
is the same solution as used with a similar issues: Referring to
commit 70b095c843266 ("ipv6: remove dependency of nf_defrag_ipv6 on ipv6
module")

Fixes: 9d9e937b1c8b ("ipv6/netfilter: Discard first fragment not including all headers")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Georg Kohmann <geokohma@cisco.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Link: https://lore.kernel.org/r/20201119095833.8409-1-geokohma@cisco.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent f0b0a2d
History
File Mode Size
buffer_sync.c -rw-r--r-- 13.4 KB
buffer_sync.h -rw-r--r-- 432 bytes
cpu_buffer.c -rw-r--r-- 10.6 KB
cpu_buffer.h -rw-r--r-- 2.8 KB
event_buffer.c -rw-r--r-- 4.5 KB
event_buffer.h -rw-r--r-- 860 bytes
nmi_timer_int.c -rw-r--r-- 3.1 KB
oprof.c -rw-r--r-- 5.0 KB
oprof.h -rw-r--r-- 1.1 KB
oprofile_files.c -rw-r--r-- 4.6 KB
oprofile_perf.c -rw-r--r-- 7.1 KB
oprofile_stats.c -rw-r--r-- 2.2 KB
oprofile_stats.h -rw-r--r-- 650 bytes
oprofilefs.c -rw-r--r-- 6.6 KB
timer_int.c -rw-r--r-- 2.5 KB

back to top