diff options
| author | Eric Dumazet <edumazet@google.com> | 2013-10-18 13:36:17 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-10-18 13:38:39 -0400 |
| commit | 28be6e07e8bccee76b51bca8fdba52c1b28fc77c (patch) | |
| tree | b889d193ffe884edcee8ce145f8778235eff8a9b | |
| parent | ace0d5d8bf8a69866e4394ca2e4c5d1296ef7db2 (diff) | |
tcp: rename tcp_tso_segment()
Rename tcp_tso_segment() to tcp_gso_segment(), to better reflect
what is going on, and ease grep games.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | include/net/tcp.h | 2 | ||||
| -rw-r--r-- | net/ipv4/tcp_offload.c | 6 | ||||
| -rw-r--r-- | net/ipv6/tcpv6_offload.c | 2 |
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 | ||
| 1549 | void tcp_v4_destroy_sock(struct sock *sk); | 1549 | void tcp_v4_destroy_sock(struct sock *sk); |
| 1550 | 1550 | ||
| 1551 | struct sk_buff *tcp_tso_segment(struct sk_buff *skb, | 1551 | struct sk_buff *tcp_gso_segment(struct sk_buff *skb, |
| 1552 | netdev_features_t features); | 1552 | netdev_features_t features); |
| 1553 | struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb); | 1553 | struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb); |
| 1554 | int tcp_gro_complete(struct sk_buff *skb); | 1554 | int 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 | ||
| 17 | struct sk_buff *tcp_tso_segment(struct sk_buff *skb, | 17 | struct 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, | |||
| 139 | out: | 139 | out: |
| 140 | return segs; | 140 | return segs; |
| 141 | } | 141 | } |
| 142 | EXPORT_SYMBOL(tcp_tso_segment); | 142 | EXPORT_SYMBOL(tcp_gso_segment); |
| 143 | 143 | ||
| 144 | struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb) | 144 | struct 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) | |||
| 320 | static const struct net_offload tcpv4_offload = { | 320 | static 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) | |||
| 83 | static const struct net_offload tcpv6_offload = { | 83 | static 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 | }, |
