Skip to content

Commit b53c733

Browse files
edumazetdavem330
authored andcommitted
tcp: do not export tcp_gso_segment() and tcp_gro_receive()
tcp_gso_segment() and tcp_gro_receive() no longer need to be exported. IPv4 and IPv6 offloads are statically linked. Note that tcp_gro_complete() is still used by bnx2x, unfortunately. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c4ba999 commit b53c733

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

net/ipv4/tcp_offload.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ struct sk_buff *tcp_gso_segment(struct sk_buff *skb,
138138
out:
139139
return segs;
140140
}
141-
EXPORT_SYMBOL(tcp_gso_segment);
142141

143142
struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb)
144143
{
@@ -235,7 +234,6 @@ struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb)
235234

236235
return pp;
237236
}
238-
EXPORT_SYMBOL(tcp_gro_receive);
239237

240238
int tcp_gro_complete(struct sk_buff *skb)
241239
{

0 commit comments

Comments
 (0)