OSDN Git Service

netfilter: utils: move nf_ip6_checksum* from ipv6 to utils
authorFlorian Westphal <fw@strlen.de>
Mon, 25 Jun 2018 15:49:59 +0000 (17:49 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Jul 2018 15:51:48 +0000 (17:51 +0200)
commitebee5a50d0b7cdc576aa8081f05b86971880054d
treec542318033a9a975680e2ee7d9f9ce55ac98b523
parentd7e5a9a50245b91f016c814b0f076f7e55cbb980
netfilter: utils: move nf_ip6_checksum* from ipv6 to utils

similar to previous change, this also allows to remove it
from nf_ipv6_ops and avoid the indirection.

It also removes the bogus dependency of nf_conntrack_ipv6 on ipv6 module:
ipv6 checksum functions are built into kernel even if CONFIG_IPV6=m,
but ipv6/netfilter.o isn't.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter_ipv6.h
net/ipv6/netfilter.c
net/netfilter/utils.c