net: use indirect call helpers for dst_output
authorBrian Vazquez <brianvv@google.com>
Mon, 1 Feb 2021 17:41:30 +0000 (17:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Feb 2021 22:51:39 +0000 (14:51 -0800)
commit6585d7dc491d9d5e323ed52ee32ad071e04c9dfa
treea8b9d9b484b9e5cc6d0f00139b20c8f21ff5f4c8
parente43b21906439ed14dda84f9784d38c03d0464607
net: use indirect call helpers for dst_output

This patch avoids the indirect call for the common case:
ip6_output and ip_output

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