.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * IPV6 GSO/GRO offload support |
---|
3 | 4 | * Linux INET6 implementation |
---|
4 | 5 | * |
---|
5 | | - * This program is free software; you can redistribute it and/or |
---|
6 | | - * modify it under the terms of the GNU General Public License |
---|
7 | | - * as published by the Free Software Foundation; either version |
---|
8 | | - * 2 of the License, or (at your option) any later version. |
---|
9 | | - * |
---|
10 | 6 | * TCPv6 GSO/GRO support |
---|
11 | 7 | */ |
---|
| 8 | +#include <linux/indirect_call_wrapper.h> |
---|
12 | 9 | #include <linux/skbuff.h> |
---|
13 | 10 | #include <net/protocol.h> |
---|
14 | 11 | #include <net/tcp.h> |
---|
15 | 12 | #include <net/ip6_checksum.h> |
---|
16 | 13 | #include "ip6_offload.h" |
---|
17 | 14 | |
---|
18 | | -static struct sk_buff *tcp6_gro_receive(struct list_head *head, |
---|
19 | | - struct sk_buff *skb) |
---|
| 15 | +INDIRECT_CALLABLE_SCOPE |
---|
| 16 | +struct sk_buff *tcp6_gro_receive(struct list_head *head, struct sk_buff *skb) |
---|
20 | 17 | { |
---|
21 | 18 | /* Don't bother verifying checksum if we're going to flush anyway. */ |
---|
22 | 19 | if (!NAPI_GRO_CB(skb)->flush && |
---|
.. | .. |
---|
29 | 26 | return tcp_gro_receive(head, skb); |
---|
30 | 27 | } |
---|
31 | 28 | |
---|
32 | | -static int tcp6_gro_complete(struct sk_buff *skb, int thoff) |
---|
| 29 | +INDIRECT_CALLABLE_SCOPE int tcp6_gro_complete(struct sk_buff *skb, int thoff) |
---|
33 | 30 | { |
---|
34 | 31 | const struct ipv6hdr *iph = ipv6_hdr(skb); |
---|
35 | 32 | struct tcphdr *th = tcp_hdr(skb); |
---|