Patchwork [net-next-2.6] gro: unexport tcp4_gro_receive and tcp4_gro_complete

login
register
mail settings
Submitter Eric Dumazet
Date Aug. 31, 2010, 8:23 p.m.
Message ID <1283286227.2198.7.camel@edumazet-laptop>
Download mbox | patch
Permalink /patch/63316/
State Accepted
Delegated to: David Miller
Headers show

Comments

Eric Dumazet - Aug. 31, 2010, 8:23 p.m.
tcp4_gro_receive() and tcp4_gro_complete() dont need to be exported.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
 net/ipv4/tcp_ipv4.c |    2 --
 1 file changed, 2 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Aug. 31, 2010, 8:33 p.m.
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Tue, 31 Aug 2010 22:23:47 +0200

> tcp4_gro_receive() and tcp4_gro_complete() dont need to be exported.
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

Looks good, I'll apply this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c
index 0207662..a0232f3 100644
--- a/net/ipv4/tcp_ipv4.c
+++ b/net/ipv4/tcp_ipv4.c
@@ -2571,7 +2571,6 @@  struct sk_buff **tcp4_gro_receive(struct sk_buff **head, struct sk_buff *skb)
 
 	return tcp_gro_receive(head, skb);
 }
-EXPORT_SYMBOL(tcp4_gro_receive);
 
 int tcp4_gro_complete(struct sk_buff *skb)
 {
@@ -2584,7 +2583,6 @@  int tcp4_gro_complete(struct sk_buff *skb)
 
 	return tcp_gro_complete(skb);
 }
-EXPORT_SYMBOL(tcp4_gro_complete);
 
 struct proto tcp_prot = {
 	.name			= "TCP",