]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit870c6d922b1d70acef0297361e296c4f98c15d95
treecb2a2d1c678a1b3546d119d6b3a32ebb8ec7818e
parent7b6b30f301702a6f7c6c66f548277af39c12fdf0
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