aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2019-05-03 11:01:38 -0400
committerDavid S. Miller <davem@davemloft.net>2019-05-05 13:38:04 -0400
commit97ff7ffb11fe7a859a490771e7ce23f1f335176b (patch)
tree0b6bcf8f028ecbe20eafab86c08ef06150f02c15 /net/ipv6/tcp_ipv6.c
parent0e219ae48c3bbf382ef96adf3825457315728c03 (diff)
net: use indirect calls helpers at early demux stage
So that we avoid another indirect call per RX packet, if early demux is enabled. Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index d58bf84e0f9a..beaf28456301 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -1655,7 +1655,7 @@ do_time_wait:
1655 goto discard_it; 1655 goto discard_it;
1656} 1656}
1657 1657
1658static void tcp_v6_early_demux(struct sk_buff *skb) 1658INDIRECT_CALLABLE_SCOPE void tcp_v6_early_demux(struct sk_buff *skb)
1659{ 1659{
1660 const struct ipv6hdr *hdr; 1660 const struct ipv6hdr *hdr;
1661 const struct tcphdr *th; 1661 const struct tcphdr *th;