netfilter: flowtable: reduce calls to pskb_may_pull()
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 11 Oct 2020 22:18:07 +0000 (00:18 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 11 Oct 2020 23:58:10 +0000 (01:58 +0200)
commit793d5d61242695142460ce74f124281e0681fbc7
tree9df5d974088cd84c0c43fc71394bdbe3f49126f1
parentd3519cb89f6d5949481afa5de3ee0fc6a051e231
netfilter: flowtable: reduce calls to pskb_may_pull()

Make two unfront calls to pskb_may_pull() to linearize the network and
transport header.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_core.c
net/netfilter/nf_flow_table_ip.c