netfilter: nf_flow_table: cache mtu in struct flow_offload_tuple
authorFelix Fietkau <nbd@nbd.name>
Mon, 26 Feb 2018 09:15:11 +0000 (10:15 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 21 Apr 2018 17:20:40 +0000 (19:20 +0200)
commit4f3780c004ef608477a534558eb16f46c5a1c534
treedba23737d2ad144c08f2a84853800b5d9199d005
parent07cb9623ee7d15cc9968969ac247edae6972fb8f
netfilter: nf_flow_table: cache mtu in struct flow_offload_tuple

Reduces the number of cache lines touched in the offload forwarding
path. This is safe because PMTU limits are bypassed for the forwarding
path (see commit f87c10a8aa1e for more details).

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_flow_table.h
net/ipv4/netfilter/nf_flow_table_ipv4.c
net/ipv6/netfilter/nf_flow_table_ipv6.c
net/netfilter/nf_flow_table.c