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)
commite43b21906439ed14dda84f9784d38c03d0464607
treed2d5786462797e5c68bfc9d8a57d44f19add053b
parent4f4e54366eae20d5867864001db57c5d90693d8c
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