mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
netfilter: nft_fib_ipv6: switch to fib6_lookup
Existing code works but it requires a temporary dst object that is released again right away. Switch to fib6_lookup + RT6_LOOKUP_F_DST_NOREF: no need for temporary dst objects and refcount overhead anymore. Provides ~13% improvement in match performance. Signed-off-by: Florian Westphal <fw@strlen.de>
This commit is contained in:
parent
831fb31b76
commit
1c32b24c23
1 changed files with 49 additions and 30 deletions
Loading…
Add table
Add a link
Reference in a new issue