summaryrefslogtreecommitdiff
path: root/net/ipv6/tcpv6_offload.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-02-27 06:08:59 +0300
committerDavid S. Miller <davem@davemloft.net>2015-03-01 00:56:51 +0300
commit74abc20cedf6f95a0065665c55180ef2d4828ba5 (patch)
tree41ee897ae926f53cd1ae0bc03c80e2de4857bacb /net/ipv6/tcpv6_offload.c
parent59995370dbca7636c105ddadc0447fab86ad3887 (diff)
downloadlinux-74abc20cedf6f95a0065665c55180ef2d4828ba5.tar.xz
tcp: cleanup static functions
tcp_fastopen_create_child() is static and should not be exported. tcp4_gso_segment() and tcp6_gso_segment() should be static. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcpv6_offload.c')
-rw-r--r--net/ipv6/tcpv6_offload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/tcpv6_offload.c b/net/ipv6/tcpv6_offload.c
index c1ab77105b4c..d883c9204c01 100644
--- a/net/ipv6/tcpv6_offload.c
+++ b/net/ipv6/tcpv6_offload.c
@@ -41,8 +41,8 @@ static int tcp6_gro_complete(struct sk_buff *skb, int thoff)
return tcp_gro_complete(skb);
}
-struct sk_buff *tcp6_gso_segment(struct sk_buff *skb,
- netdev_features_t features)
+static struct sk_buff *tcp6_gso_segment(struct sk_buff *skb,
+ netdev_features_t features)
{
struct tcphdr *th;