netfilter: remove saveroute indirection in struct nf_afinfo
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 20 Dec 2017 15:12:55 +0000 (16:12 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 8 Jan 2018 17:01:25 +0000 (18:01 +0100)
commit7db9a51e0f9931446ed4231feb1040ed5134fc60
tree871f6deef758b00acf309f63a6121184bf2bc88a
parentf7dcbe2f36a660140ecb286e15f502028d96ffdf
netfilter: remove saveroute indirection in struct nf_afinfo

This is only used by nf_queue.c and this function comes with no symbol
dependencies with IPv6, it just refers to structure layouts. Therefore,
we can replace it by a direct function call from where it belongs.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter.h
include/linux/netfilter_ipv4.h
include/linux/netfilter_ipv6.h
net/bridge/netfilter/nf_tables_bridge.c
net/ipv4/netfilter.c
net/ipv6/netfilter.c
net/netfilter/nf_queue.c