]> Pileus Git - ~andy/linux/commitdiff
tcp: do not export tcp_gso_segment() and tcp_gro_receive()
authorEric Dumazet <edumazet@google.com>
Wed, 15 Jan 2014 00:31:46 +0000 (16:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:53:48 +0000 (18:53 -0800)
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_offload.c

index 771a3950d87a0ba28a65eb072e16b703eb8f2d83..b92b81718ca42bc9e47b415c321eb143d7266852 100644 (file)
@@ -138,7 +138,6 @@ struct sk_buff *tcp_gso_segment(struct sk_buff *skb,
 out:
        return segs;
 }
-EXPORT_SYMBOL(tcp_gso_segment);
 
 struct sk_buff **tcp_gro_receive(struct sk_buff **head, struct sk_buff *skb)
 {
@@ -235,7 +234,6 @@ out:
 
        return pp;
 }
-EXPORT_SYMBOL(tcp_gro_receive);
 
 int tcp_gro_complete(struct sk_buff *skb)
 {