]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite7871b104c5a245e289a18bb9b07b1e43952144c
tree9df5d974088cd84c0c43fc71394bdbe3f49126f1
parent2a3e0391a5836526e016d6faa498d9b5fccb21ea
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