]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: conntrack: tell compiler to not inline nf_ct_resolve_clash
authorFlorian Westphal <fw@strlen.de>
Thu, 28 Nov 2019 12:25:48 +0000 (13:25 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 30 Nov 2019 18:45:41 +0000 (19:45 +0100)
commit24e33056f0f8b2be568f4fc62b7852232a4ff8b6
tree834c9743400630db2032617f9a1a506e95198df9
parentf129f2ba027c83256de508eae5b4fd4a83c978e8
netfilter: conntrack: tell compiler to not inline nf_ct_resolve_clash

At this time compiler inlines it, but this code will not be executed
under normal conditions.

Also, no inlining allows to use "nf_ct_resolve_clash%return" perf probe.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_core.c