]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2426426af64d3ac1548adf250affad6683e8af75
treedba23737d2ad144c08f2a84853800b5d9199d005
parent44795876b2c74dd524a65320c7f06dc3923dd23e
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 eafe8df89251 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