]> git.baikalelectronics.ru Git - kernel.git/commit
net: use indirect call helpers for dst_input
authorBrian Vazquez <brianvv@google.com>
Mon, 1 Feb 2021 17:41:29 +0000 (17:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Feb 2021 22:51:39 +0000 (14:51 -0800)
commita97e73f4d92e27a9b993f28b54c1d42e0516c9f7
treed2d5786462797e5c68bfc9d8a57d44f19add053b
parent5408bf4f64201ecba4044b21aa00c26d6e3b24a0
net: use indirect call helpers for dst_input

This patch avoids the indirect call for the common case:
ip_local_deliver and ip6_input

Signed-off-by: Brian Vazquez <brianvv@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dst.h
net/ipv4/ip_input.c