OSDN Git Service

net: indirect call helpers for ipv4/ipv6 dst_check functions
authorBrian Vazquez <brianvv@google.com>
Mon, 1 Feb 2021 17:41:32 +0000 (17:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Feb 2021 22:51:40 +0000 (14:51 -0800)
commitbbd807dfbf20506f5548b0297c430a09326e7c4b
treecb2a2d1c678a1b3546d119d6b3a32ebb8ec7818e
parentf67fbeaebdc0356e0cbc94f4b099f45ebe174b02
net: indirect call helpers for ipv4/ipv6 dst_check functions

This patch avoids the indirect call for the common case:
ip6_dst_check and ipv4_dst_check

Signed-off-by: Brian Vazquez <brianvv@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dst.h
net/core/sock.c
net/ipv4/route.c
net/ipv4/tcp_ipv4.c
net/ipv6/route.c
net/ipv6/tcp_ipv6.c