aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/tcp.h2
-rw-r--r--net/ipv4/tcp_offload.c6
-rw-r--r--net/ipv6/tcpv6_offload.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 1db3a016bff6..372dcccfeed0 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1548,7 +1548,7 @@ extern struct request_sock_ops tcp6_request_sock_ops;
1548 1548
1549void tcp_v4_destroy_sock(struct sock *sk); 1549void tcp_v4_destroy_sock(struct sock *sk);
1550 1550
1551struct sk_buff *tcp_tso_segment(struct sk_buff *skb, 1551struct sk_buff *tcp_gso_segment(struct sk_buff *skb,
1552 netdev_features_t features); 1552 netdev_features_t features);
1553struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb); 1553struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb);
1554int tcp_gro_complete(struct sk_buff *skb); 1554int tcp_gro_complete(struct sk_buff *skb);
diff --git a/net/ipv4/tcp_offload.c b/net/ipv4/tcp_offload.c
index 3a7525e6c086..8e3113f46ec1 100644
--- a/net/ipv4/tcp_offload.c
+++ b/net/ipv4/tcp_offload.c
@@ -14,7 +14,7 @@
14#include <net/tcp.h> 14#include <net/tcp.h>
15#include <net/protocol.h> 15#include <net/protocol.h>
16 16
17struct sk_buff *tcp_tso_segment(struct sk_buff *skb, 17struct sk_buff *tcp_gso_segment(struct sk_buff *skb,
18 netdev_features_t features) 18 netdev_features_t features)
19{ 19{
20 struct sk_buff *segs = ERR_PTR(-EINVAL); 20 struct sk_buff *segs = ERR_PTR(-EINVAL);
@@ -139,7 +139,7 @@ struct sk_buff *tcp_tso_segment(struct sk_buff *skb,
139out: 139out:
140 return segs; 140 return segs;
141} 141}
142EXPORT_SYMBOL(tcp_tso_segment); 142EXPORT_SYMBOL(tcp_gso_segment);
143 143
144struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb) 144struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb)
145{ 145{
@@ -320,7 +320,7 @@ static int tcp4_gro_complete(struct sk_buff *skb)
320static const struct net_offload tcpv4_offload = { 320static const struct net_offload tcpv4_offload = {
321 .callbacks = { 321 .callbacks = {
322 .gso_send_check = tcp_v4_gso_send_check, 322 .gso_send_check = tcp_v4_gso_send_check,
323 .gso_segment = tcp_tso_segment, 323 .gso_segment = tcp_gso_segment,
324 .gro_receive = tcp4_gro_receive, 324 .gro_receive = tcp4_gro_receive,
325 .gro_complete = tcp4_gro_complete, 325 .gro_complete = tcp4_gro_complete,
326 }, 326 },
diff --git a/net/ipv6/tcpv6_offload.c b/net/ipv6/tcpv6_offload.c
index 2ec6bf6a0aa0..c1097c798900 100644
--- a/net/ipv6/tcpv6_offload.c
+++ b/net/ipv6/tcpv6_offload.c
@@ -83,7 +83,7 @@ static int tcp6_gro_complete(struct sk_buff *skb)
83static const struct net_offload tcpv6_offload = { 83static const struct net_offload tcpv6_offload = {
84 .callbacks = { 84 .callbacks = {
85 .gso_send_check = tcp_v6_gso_send_check, 85 .gso_send_check = tcp_v6_gso_send_check,
86 .gso_segment = tcp_tso_segment, 86 .gso_segment = tcp_gso_segment,
87 .gro_receive = tcp6_gro_receive, 87 .gro_receive = tcp6_gro_receive,
88 .gro_complete = tcp6_gro_complete, 88 .gro_complete = tcp6_gro_complete,
89 }, 89 },